From a490cfe364a242b1e9993225758ea6e61369e363 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 23:32:45 +0100 Subject: reshapping of memcache container --- Services/mariadb/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Services/mariadb/Dockerfile') 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 -- cgit v1.2.3