From 0aac2243e9665dd530b1c70e1b6ee413e1c793e4 Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Sun, 25 Aug 2024 02:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4maven=E7=9A=84=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f960bb..40ca746 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,26 +2,6 @@ FROM maven:3.9-eclipse-temurin-17-alpine AS build WORKDIR /app -# 给 maven 配置阿里云镜像 -RUN --mount=type=cache,target=/root/.m2 \ - mkdir -p /root/.m2 \ - && echo "\ - \ - \ - gdutnic\ - gdutnic maven\ - http://mirrors.gdut.edu.cn/nexus/repository/maven-public/\ - central\ - \ - \ - alimaven\ - central\ - aliyun maven\ - https://maven.aliyun.com/repository/public\ - \ - \ - " > /root/.m2/settings.xml - COPY pom.xml ./pom.xml COPY src ./src