修改maven的镜像库
This commit is contained in:
commit
77516bb5f2
|
|
@ -0,0 +1,11 @@
|
||||||
|
FROM git.qtoa.cn/docker/maven:3.9.6-eclipse-temurin-17
|
||||||
|
RUN sed -i '/<\/settings>/i \
|
||||||
|
<mirrors>\n \
|
||||||
|
<mirror>\n \
|
||||||
|
<id>aliyun</id>\n \
|
||||||
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>\n \
|
||||||
|
<mirrorOf>*</mirrorOf>\n \
|
||||||
|
</mirror>\n \
|
||||||
|
</mirrors>\n \
|
||||||
|
' /usr/share/maven/ref/settings-docker.xml
|
||||||
|
|
||||||
Loading…
Reference in New Issue