From d7b44f641b3cbc35ad98799c56efe34f458fdea2 Mon Sep 17 00:00:00 2001 From: LamGC Date: Sun, 12 Jan 2025 02:01:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20Docker=20=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E5=9C=A8=E6=9E=84=E5=BB=BA=E6=97=B6=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=9D=83=E9=99=90=E7=9A=84=E9=97=AE=E9=A2=98.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Proxd-man/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Proxd-man/Dockerfile b/Proxd-man/Dockerfile index 9a6c430..b229ecd 100644 --- a/Proxd-man/Dockerfile +++ b/Proxd-man/Dockerfile @@ -1,9 +1,11 @@ FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base -USER $APP_UID WORKDIR /app +USER root RUN apt-get update && apt-get install -y iputils-ping +USER $APP_UID + FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src