first push
This commit is contained in:
9
mariadb/Dockerfile
Normal file
9
mariadb/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM centos:7
|
||||
COPY repo /etc/yum.repos.d/MariaDB.repo
|
||||
RUN yum update -y
|
||||
RUN yum install MariaDB-server MariaDB-client -y
|
||||
RUN /bin/rm -R /var/lib/mysql/*
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["mysqld"]
|
||||
Reference in New Issue
Block a user