From e75aacdf765edff6c3f6e08237358e2be41cf320 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Sat, 31 Aug 2024 15:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0alpine=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 38d7abf6..c20de783 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ 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 WORKDIR /app