From 2feb24a3a0c5e1233610d7e9e54e278bfd6e869f Mon Sep 17 00:00:00 2001 From: laraproto Date: Fri, 25 Apr 2025 20:24:54 +0300 Subject: [PATCH] fix lack of pip and externally managed --- dotnet/9/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/9/Dockerfile b/dotnet/9/Dockerfile index 339cd0e..0f6cc26 100644 --- a/dotnet/9/Dockerfile +++ b/dotnet/9/Dockerfile @@ -6,8 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt update -y \ && apt upgrade -y \ - && apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \ - && pip install supervisor \ + && apt install -y apt-transport-https wget curl iproute2 libgdiplus tini python3-pip \ + && pip install --break-system-packages supervisor \ && wget https://dot.net/v1/dotnet-install.sh \ && D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '

SDK 9.*.*

' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \ && chmod +x dotnet-install.sh \