Dockerfile

master
bai 2024-08-09 11:28:03 +08:00
parent d0ba08dfca
commit 8123869e25
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6 FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6
#执行一些必备的条件 #执行一些必备的条件
#定义时区参数 #定义时区参数
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
#挂载工作目录 #挂载工作目录