From 952967ec3c6b064c8464d72e8038e2c79bda7003 Mon Sep 17 00:00:00 2001 From: olaf michaelis Date: Fri, 8 Dec 2023 10:40:59 +0100 Subject: [PATCH] Update find externally managed delete find rule --- docker/rdmo/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rdmo/Dockerfile b/docker/rdmo/Dockerfile index 3885915..754cbe5 100644 --- a/docker/rdmo/Dockerfile +++ b/docker/rdmo/Dockerfile @@ -9,7 +9,7 @@ ENV LC_ALL C.UTF-8 RUN apt update -y && apt upgrade -y && apt install -y \ python3 python3-dev python3-pip locales -RUN rm "$(find /usr/lib/python?.??/ -regex ".*EXTERNALLY-MANAGED.*")" +RUN rm "$(find /usr/lib -type f -regex ".*python.*EXTERNALLY-MANAGED.*")" RUN ln -s /usr/bin/python3 /usr/bin/python RUN python3 -m pip install --upgrade pip