Browse Source

add Dockerfile

main
彭玲 2 years ago
parent
commit
378d41b902
  1. 12
      Dockerfile

12
Dockerfile

@ -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…
Cancel
Save