From a6f8b680d6891d0630092c180170e30a21d61f49 Mon Sep 17 00:00:00 2001 From: Ben Chuanlong Du Date: Sat, 2 Mar 2024 22:15:06 -0800 Subject: [PATCH 1/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be8f1a3..f13df97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update -y \ python3 python3-pip python3-venv \ python3-all-dev python3-setuptools build-essential python3-wheel python3-apt \ && pip3 install -U pip \ - && pip3 install \ + && pip3 install --break-system-packages \ pytype pylint black[jupyter] isort pytest ipython \ wajig \ && ln -svf /usr/bin/python3 /usr/bin/python \ From 06bcdc5ec7195a59895c09d0c3766372de6606e9 Mon Sep 17 00:00:00 2001 From: Benjamin Du Date: Mon, 4 Mar 2024 22:47:20 -0800 Subject: [PATCH 2/3] fix issue --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f13df97..bae0921 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ python3 python3-pip python3-venv \ python3-all-dev python3-setuptools build-essential python3-wheel python3-apt \ - && pip3 install -U pip \ + && pip3 install -U --break-system-packages pip \ && pip3 install --break-system-packages \ pytype pylint black[jupyter] isort pytest ipython \ wajig \ From d7d4ea79392518b619e2f8baea51a35ae069fd73 Mon Sep 17 00:00:00 2001 From: Benjamin Du Date: Thu, 22 Aug 2024 14:44:21 -0700 Subject: [PATCH 3/3] do not upgrade pip after installing it --- Dockerfile | 2 +- build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bae0921..e05dca9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ python3 python3-pip python3-venv \ python3-all-dev python3-setuptools build-essential python3-wheel python3-apt \ - && pip3 install -U --break-system-packages pip \ + #&& pip3 install -U --break-system-packages pip \ && pip3 install --break-system-packages \ pytype pylint black[jupyter] isort pytest ipython \ wajig \ diff --git a/build.sh b/build.sh index 2b9a25e..065f9d8 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ #!/bin/bash +docker pull dclong/base:next docker build -t dclong/python:next .