diff --git a/Dockerfile b/Dockerfile index b0745166..41842297 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile-No-Jdk b/Dockerfile-No-Jdk index 95de421b..1167bafd 100644 --- a/Dockerfile-No-Jdk +++ b/Dockerfile-No-Jdk @@ -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 && \