From 5f7ecc0410352a271fcaa38914c42d92330c29ad Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 26 Dec 2024 17:58:35 -0800 Subject: [PATCH] docker: remove pips --- install/docker/Dockerfile.full | 7 ------- install/docker/template/Dockerfile.full.footer | 3 --- install/docker/template/Dockerfile.full.header | 4 ---- 3 files changed, 14 deletions(-) diff --git a/install/docker/Dockerfile.full b/install/docker/Dockerfile.full index 0f599b251e..bafe4757fa 100644 --- a/install/docker/Dockerfile.full +++ b/install/docker/Dockerfile.full @@ -51,10 +51,6 @@ RUN apt-get -y install \ # allow pip to install to system RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED -# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian. -# RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install debugpy typing_extensions psutil - ################################################################ # End section generated from template/Dockerfile.full.header ################################################################ @@ -86,9 +82,6 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \ # allow pip to install to system RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED -# RUN python3.9 -m pip install --upgrade pip -RUN python3.9 -m pip install debugpy typing_extensions psutil - # Coral Edge TPU # https://coral.ai/docs/accelerator/get-started/#runtime-on-linux RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list diff --git a/install/docker/template/Dockerfile.full.footer b/install/docker/template/Dockerfile.full.footer index 0ead523965..8d79134550 100644 --- a/install/docker/template/Dockerfile.full.footer +++ b/install/docker/template/Dockerfile.full.footer @@ -26,9 +26,6 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \ # allow pip to install to system RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED -# RUN python3.9 -m pip install --upgrade pip -RUN python3.9 -m pip install debugpy typing_extensions psutil - # Coral Edge TPU # https://coral.ai/docs/accelerator/get-started/#runtime-on-linux RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list diff --git a/install/docker/template/Dockerfile.full.header b/install/docker/template/Dockerfile.full.header index 239e06dca4..6397f3766c 100644 --- a/install/docker/template/Dockerfile.full.header +++ b/install/docker/template/Dockerfile.full.header @@ -48,10 +48,6 @@ RUN apt-get -y install \ # allow pip to install to system RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED -# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian. -# RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install debugpy typing_extensions psutil - ################################################################ # End section generated from template/Dockerfile.full.header ################################################################