generated from container/tmpl
彭玲
2 years ago
1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
FROM tomcat:7.0.94-alpine |
|||
|
|||
LABEL maintainer="peng.ling@free-sun.com.cn" |
|||
|
|||
RUN cp /etc/apk/repositories /etc/apk/repositories.bak; \ |
|||
sed -i "s@http://dl-cdn.alpinelinux.org/@https://repo.huaweicloud.com/@g" /etc/apk/repositories; \ |
|||
apk update; \ |
|||
apk add tzdata; \ |
|||
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime; \ |
|||
echo "Asia/Shanghai" > /etc/timezone; \ |
|||
apk del tzdata; |
|||
|
Loading…
Reference in new issue