summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
commita490cfe364a242b1e9993225758ea6e61369e363 (patch)
treef4699d33f476c79a99db91781697c6b552a7b30e /Services/mariadb/Dockerfile
parent42c264a48c9d7df0b5e55be370436e3ec0bb7667 (diff)
downloadphpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.gz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.bz2
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.xz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.zip
reshapping of memcache container
Diffstat (limited to 'Services/mariadb/Dockerfile')
-rw-r--r--Services/mariadb/Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Services/mariadb/Dockerfile b/Services/mariadb/Dockerfile
index 09a7acb..9679969 100644
--- a/Services/mariadb/Dockerfile
+++ b/Services/mariadb/Dockerfile
@@ -15,10 +15,8 @@ COPY my.cnf $MY_CONF
COPY *.sql $LOADSQL_PATH/
RUN chmod 775 /bin/run.sh && \
chmod ug+r $MY_CONF && \
- mkdir /data && \
- mkdir /data/logs && \
- mkdir $DATA_PATH && \
- mkdir $LOG_PATH && \
+ mkdir -p $DATA_PATH && \
+ mkdir -p $LOG_PATH && \
touch $STARTUPLOG && \
touch $DATA_PATH/.keep && \
chown -R mysql:mysql $LOG_PATH $DATA_PATH $LOADSQL_PATH