fix dockerfile

pull/1093/head
hengyunabc 5 years ago
parent ea252fdb5a
commit fa5fc3d575

@ -3,9 +3,9 @@ FROM openjdk:8-jdk-alpine
ARG ARTHAS_VERSION="3.1.8"
ARG MIRROR=false
ENV MAVEN_HOST=http://repo1.maven.org/maven2 \
ENV MAVEN_HOST=https://repo1.maven.org/maven2 \
ALPINE_HOST=dl-cdn.alpinelinux.org \
MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public \
MIRROR_MAVEN_HOST=https://maven.aliyun.com/repository/public \
MIRROR_ALPINE_HOST=mirrors.aliyun.com
# if use mirror change to aliyun mirror site

@ -3,8 +3,8 @@ FROM alpine
ARG ARTHAS_VERSION="3.1.8"
ARG MIRROR=false
ENV MAVEN_HOST=http://repo1.maven.org/maven2 \
MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public
ENV MAVEN_HOST=https://repo1.maven.org/maven2 \
MIRROR_MAVEN_HOST=https://maven.aliyun.com/repository/public
# if use mirror change to aliyun mirror site
RUN if $MIRROR; then MAVEN_HOST=${MIRROR_MAVEN_HOST} ; fi && \

Loading…
Cancel
Save