DockerFile update for improvement (#1568)

Docker file changes for image size improvements.
This commit is contained in:
Valerian Pereira 2018-07-18 18:47:49 +05:30 committed by Shao Yu-Lung (Allen)
parent 8624335f61
commit 0f65c60a89

View File

@ -9,9 +9,7 @@ LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
ARG TZ=UTC
ENV TZ ${TZ}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN chown -R mysql:root /var/lib/mysql/
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
COPY my.cnf /etc/mysql/conf.d/my.cnf