From 717139d0dd4c9c483313d874bd623a753f28aa76 Mon Sep 17 00:00:00 2001 From: John Lambert Date: Wed, 30 Oct 2024 09:27:30 -0400 Subject: [PATCH] fix 3 --- dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dockerfile b/dockerfile index 3f1d570..163d23f 100755 --- a/dockerfile +++ b/dockerfile @@ -34,15 +34,17 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone WORKDIR /root -# get rid of all distro python3 packages - they cause conflicts and we don't need them. -RUN apt list | grep ^python3- | sed 's|/.*||' | xargs apt remove -y RUN apt-get update && \ apt-get install --no-install-recommends -y software-properties-common && \ apt-get update && \ apt-get install --no-install-recommends -y \ - python3-pip \ # these are needed for ClearML - git libsm6 libxext6 libxrender-dev libglib2.0-0 && \ + git libsm6 libxext6 libxrender-dev libglib2.0-0 + +# get rid of all distro python3 packages - they cause conflicts and we don't need them. +RUN apt list | grep ^python3- | sed 's|/.*||' | xargs apt remove -y +# but we at least need pip +RUN apt-get install --no-install-recommends -y python3-pip && \ rm -rf /var/lib/apt/lists/* && \ apt-get clean