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;