File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,12 @@ RUN apt-get -y install \
68
68
python3-pil \
69
69
python3-skimage
70
70
71
- # python pip
71
+ # allow pip to install to system
72
72
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
73
73
74
74
# pyvips is broken on x86 due to mismatch ffi
75
75
# https://stackoverflow.com/questions/62658237/it-seems-that-the-version-of-the-libffi-library-seen-at-runtime-is-different-fro
76
76
77
- RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
78
77
RUN python3 -m pip install --upgrade pip
79
78
RUN python3 -m pip install --force-reinstall --no-binary :all: cffi
80
79
RUN python3 -m pip install debugpy typing_extensions psutil
@@ -107,6 +106,9 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
107
106
python3.9-dev \
108
107
python3.9-distutils
109
108
109
+ # allow pip to install to system
110
+ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
111
+
110
112
RUN python3.9 -m pip install --upgrade pip
111
113
RUN python3.9 -m pip install --force-reinstall --no-binary :all: cffi
112
114
RUN python3.9 -m pip install debugpy typing_extensions psutil
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
23
23
python3.9-dev \
24
24
python3.9-distutils
25
25
26
+ # allow pip to install to system
27
+ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
28
+
26
29
RUN python3.9 -m pip install --upgrade pip
27
30
RUN python3.9 -m pip install --force-reinstall --no-binary :all: cffi
28
31
RUN python3.9 -m pip install debugpy typing_extensions psutil
Original file line number Diff line number Diff line change @@ -65,13 +65,12 @@ RUN apt-get -y install \
65
65
python3-pil \
66
66
python3-skimage
67
67
68
- # python pip
68
+ # allow pip to install to system
69
69
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
70
70
71
71
# pyvips is broken on x86 due to mismatch ffi
72
72
# https://stackoverflow.com/questions/62658237/it-seems-that-the-version-of-the-libffi-library-seen-at-runtime-is-different-fro
73
73
74
- RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
75
74
RUN python3 -m pip install --upgrade pip
76
75
RUN python3 -m pip install --force-reinstall --no-binary :all: cffi
77
76
RUN python3 -m pip install debugpy typing_extensions psutil
You can’t perform that action at this time.
0 commit comments