diff --git a/maven/Dockerfile b/maven/Dockerfile index 55eea20..547c8be 100644 --- a/maven/Dockerfile +++ b/maven/Dockerfile @@ -1,8 +1,3 @@ -FROM repository.anxinyun.cn/devops/alpine:3-tz-hw +FROM maven:3-openjdk-8-slim -ENV JDK_VERSION_MAIN 8 - -ENV JDK_VERSION 8.322.06-r0 - -RUN apk add --no-cache openjdk${JDK_VERSION_MAIN}-jre==${JDK_VERSION}; \ - java -version +COPY settings.xml /root/.m2/ diff --git a/maven/settings.xml b/maven/settings.xml new file mode 100644 index 0000000..3e3f40b --- /dev/null +++ b/maven/settings.xml @@ -0,0 +1,48 @@ + + + + + + central + * + FS-Maven Repositories + http://10.8.30.22:8081/repository/FS-Maven/ + + + + + + FS-Maven + + + FS-Maven + FS-Maven + http://10.8.30.22:8081/repository/FS-Maven/ + + true + + + true + + + + + + + + + true + false + false + + + + fs-releases + admin + admin123 + + + \ No newline at end of file