generated from container/tmpl
李玉
3 years ago
2 changed files with 50 additions and 7 deletions
@ -1,8 +1,3 @@ |
|||||
FROM repository.anxinyun.cn/devops/alpine:3-tz-hw |
FROM maven:3-openjdk-8-slim |
||||
|
|
||||
ENV JDK_VERSION_MAIN 8 |
COPY settings.xml /root/.m2/ |
||||
|
|
||||
ENV JDK_VERSION 8.322.06-r0 |
|
||||
|
|
||||
RUN apk add --no-cache openjdk${JDK_VERSION_MAIN}-jre==${JDK_VERSION}; \ |
|
||||
java -version |
|
||||
|
@ -0,0 +1,48 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 |
||||
|
http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
||||
|
|
||||
|
<mirrors> |
||||
|
<mirror> |
||||
|
<id>central</id> |
||||
|
<mirrorOf>*</mirrorOf> |
||||
|
<name>FS-Maven Repositories</name> |
||||
|
<url>http://10.8.30.22:8081/repository/FS-Maven/</url> |
||||
|
</mirror> |
||||
|
</mirrors> |
||||
|
|
||||
|
<profiles> |
||||
|
<profile> |
||||
|
<id>FS-Maven</id> |
||||
|
<repositories> |
||||
|
<repository> |
||||
|
<id>FS-Maven</id> |
||||
|
<name>FS-Maven</name> |
||||
|
<url>http://10.8.30.22:8081/repository/FS-Maven/</url> |
||||
|
<releases> |
||||
|
<enabled>true</enabled> |
||||
|
</releases> |
||||
|
<snapshots> |
||||
|
<enabled>true</enabled> |
||||
|
</snapshots> |
||||
|
</repository> |
||||
|
</repositories> |
||||
|
</profile> |
||||
|
|
||||
|
</profiles> |
||||
|
|
||||
|
<!-- <localRepository>${env.MAVEN_REP_HOME}/.m2/repository</localRepository> --> |
||||
|
<interactiveMode>true</interactiveMode> |
||||
|
<usePluginRegistry>false</usePluginRegistry> |
||||
|
<offline>false</offline> |
||||
|
|
||||
|
<servers> |
||||
|
<server> |
||||
|
<id>fs-releases</id> |
||||
|
<username>admin</username> |
||||
|
<password>admin123</password> |
||||
|
</server> |
||||
|
</servers> |
||||
|
</settings> |
Loading…
Reference in new issue