We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72198ed + bbea2f0 commit c35445bCopy full SHA for c35445b
1 file changed
mysql/Dockerfile
@@ -2,6 +2,14 @@ FROM mysql:5.7
2
3
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4
5
+#####################################
6
+# Set Timezone
7
8
+
9
+ARG TZ=UTC
10
+ENV TZ ${TZ}
11
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
12
13
RUN chown -R mysql:root /var/lib/mysql/
14
15
ADD my.cnf /etc/mysql/conf.d/my.cnf
0 commit comments