mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
升级docker镜像基础环境
This commit is contained in:
@@ -9,9 +9,8 @@ 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:17-jdk-alpine
|
||||
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirrors.tuna.tsinghua.edu.cn/alpine#g' /etc/apk/repositories
|
||||
RUN apk update && apk add --no-cache libc6-compat
|
||||
FROM registry.cn-beijing.aliyuncs.com/lihongjie/eclipse-temurin:17-jdk-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ARG JAR_FILE=target/*.jar
|
||||
|
||||
Reference in New Issue
Block a user