Browse Source

CentOS and Firebird version update. Set timezone to MSK.

Vadim Surkov 6 years ago
parent
commit
21ea418738
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -1,4 +1,4 @@
-FROM registry.sdsys.ru/centos:7.4.1708
+FROM centos:7.5.1804
 ENV LANG="en_US.UTF-8"
 ENTRYPOINT ["/docker-entrypoint.sh"]
 EXPOSE 3050
@@ -13,7 +13,8 @@ RUN set -x && \
     mkdir /data && \
     chown firebird. /data && \
     yum clean all && \
-    chmod +x /docker-entrypoint.sh 
+    chmod +x /docker-entrypoint.sh && \
+    ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
 VOLUME /data
 CMD ["/usr/sbin/fbguard"]