From 92107cf4b632bde2a9ed8e5505af30b505339ba9 Mon Sep 17 00:00:00 2001 From: Sean Reifschneider Date: Fri, 23 Feb 2024 11:04:45 -0700 Subject: [PATCH] Add "--break-system-packages" to Docker "pip" command I'm building a 23.10 based version and they've made changes (either in Ubuntu or in pip, I'm assuming Ubuntu) so that the current pip3 command in the Docker file will fail. For 24.10, I believe we will need "pip3 install --break-system-packages", and that appears to be safe to use on 22.04 as well. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 883248f..a4f5d88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -96,7 +96,7 @@ RUN wget https://github.com/googlefonts/noto-emoji/blob/9a5261d871451f9b5183c934 RUN wget https://github.com/stamen/terrain-classic/blob/master/fonts/unifont-Medium.ttf?raw=true --content-disposition -P /usr/share/fonts/ # Install python libraries -RUN pip3 install \ +RUN pip3 install --break-system-packages \ requests \ osmium \ pyyaml