修改maven镜像,默认安装git吧

This commit is contained in:
KennyLee 2017-11-23 15:13:37 +08:00
parent 8913e85b2c
commit 134c022c03

View File

@ -9,7 +9,7 @@ ENV MAVEN_SETING_FILE=/usr/share/maven/conf/settings.xml
# Install base packages
RUN apk --no-cache update && \
apk --no-cache upgrade && \
apk --no-cache add tzdata unzip && \
apk --no-cache add tzdata unzip git && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
rm -fr /tmp/* /var/cache/apk/*