diff --git a/pig-auth/Dockerfile b/pig-auth/Dockerfile
index b173b085..bdfc39dd 100755
--- a/pig-auth/Dockerfile
+++ b/pig-auth/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-auth
diff --git a/pig-codegen/Dockerfile b/pig-codegen/Dockerfile
index 5ab0cb78..619afac7 100755
--- a/pig-codegen/Dockerfile
+++ b/pig-codegen/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-codegen
diff --git a/pig-gateway/Dockerfile b/pig-gateway/Dockerfile
index 4794a67e..ea79c7ed 100755
--- a/pig-gateway/Dockerfile
+++ b/pig-gateway/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-gateway
diff --git a/pig-monitor/Dockerfile b/pig-monitor/Dockerfile
index 29e0634f..7110cce2 100755
--- a/pig-monitor/Dockerfile
+++ b/pig-monitor/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-monitor
diff --git a/pig-register/Dockerfile b/pig-register/Dockerfile
index f3061d05..443508a2 100644
--- a/pig-register/Dockerfile
+++ b/pig-register/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-register
diff --git a/pig-upms/pig-upms-biz/Dockerfile b/pig-upms/pig-upms-biz/Dockerfile
index d56e1105..60459604 100644
--- a/pig-upms/pig-upms-biz/Dockerfile
+++ b/pig-upms/pig-upms-biz/Dockerfile
@@ -2,7 +2,9 @@ FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+ENV TZ=Asia/Shanghai
+
+RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pigx-upms
diff --git a/pom.xml b/pom.xml
index 51de2cd1..d33cd219 100755
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
https://www.pig4cloud.com
- 2.2.3.RELEASE
+ 2.2.4.RELEASE
Hoxton.SR1
2.1.1.RELEASE
Cairo-SR8
@@ -48,12 +48,12 @@
2.1.0
2.9.2
2.3.6.RELEASE
- http://172.17.0.111:2375
- 172.17.0.111
+ 0.32.0
+ http://172.17.0.111:2375
+ 172.17.0.111
library
admin
Harbor12345
- 0.32.0
@@ -191,8 +191,11 @@
docker-maven-plugin
${docker.plugin.version}
+
${docker.host}
+
${docker.registry}
+
${docker.username}
@@ -201,7 +204,8 @@
- ${docker.host}/${docker.namespace}/${project.name}:${project.version}
+
+ ${docker.registry}/${docker.namespace}/${project.name}:${project.version}
${project.basedir}/Dockerfile