Fix timezone into Dockerfile #103
This commit is contained in:
parent
c9797eee45
commit
4b88cd525b
@ -31,7 +31,7 @@ RUN set -x \
|
||||
&& tar -xzvf /home/nacos-server-${NACOS_VERSION}.tar.gz -C /home \
|
||||
&& rm -rf /home/nacos-server-${NACOS_VERSION}.tar.gz /home/nacos/bin/* /home/nacos/conf/*.properties /home/nacos/conf/*.example /home/nacos/conf/nacos-mysql.sql \
|
||||
&& yum autoremove -y wget \
|
||||
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo '$TIME_ZONE' > /etc/timezone \
|
||||
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone \
|
||||
&& yum clean all
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user