mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat: 使用阿里云vpc网络
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM registry.cn-beijing.aliyuncs.com/lihongjie/maven:3-eclipse-temurin-17 as build
|
||||
FROM registry-vpc.cn-beijing.aliyuncs.com/lihongjie/maven:3-eclipse-temurin-17 as build
|
||||
WORKDIR /code
|
||||
COPY pom.xml .
|
||||
COPY settings.xml .
|
||||
@@ -9,7 +9,7 @@ COPY src ./src
|
||||
RUN mvn clean install -DskipTests -P build --settings settings.xml && \
|
||||
java -Djarmode=layertools -jar target/*.jar extract --destination target/extracted
|
||||
|
||||
FROM registry.cn-beijing.aliyuncs.com/lihongjie/eclipse-temurin:21.0.4_7-jdk-noble
|
||||
FROM registry-vpc.cn-beijing.aliyuncs.com/lihongjie/eclipse-temurin:21.0.4_7-jdk-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user