Skip to content

Commit 0f65c60

Browse files
valerianpereirabestlong
authored andcommitted
DockerFile update for improvement (laradock#1568)
Docker file changes for image size improvements.
1 parent 8624335 commit 0f65c60

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mysql/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
99

1010
ARG TZ=UTC
1111
ENV TZ ${TZ}
12-
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
13-
14-
RUN chown -R mysql:root /var/lib/mysql/
12+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
1513

1614
COPY my.cnf /etc/mysql/conf.d/my.cnf
1715

0 commit comments

Comments
 (0)