From e64f8f6d8b8441d8291d3f42866a5da265cfe3d3 Mon Sep 17 00:00:00 2001 From: zzx <784670282@qq.com> Date: Tue, 3 Jun 2025 17:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a35f0ef..12f3cee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,6 @@ # ===== 第一阶段:构建阶段 ===== FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build -# 配置 NuGet 使用国内镜像源 -RUN dotnet nuget add source https://mirrors.cloud.tencent.com/nuget/ \ - && dotnet nuget disable source nuget.org - # 配置 apt-get 使用 apt-cacher-ng 作为代理 RUN echo 'Acquire::http::Proxy "http://192.168.1.140:3142";' > /etc/apt/apt.conf.d/01proxy