Skip to content

Commit

Permalink
docker: prevent pip upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 6, 2024
1 parent 0b8bc0d commit 9b4547b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ RUN apt-get -y install \
# allow pip to install to system
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

RUN python3 -m pip install --upgrade pip
# 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

################################################################
Expand Down Expand Up @@ -85,7 +86,7 @@ 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 --upgrade pip
RUN python3.9 -m pip install debugpy typing_extensions psutil

# Coral Edge TPU
Expand Down
2 changes: 1 addition & 1 deletion install/docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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 --upgrade pip
RUN python3.9 -m pip install debugpy typing_extensions psutil

# Coral Edge TPU
Expand Down
3 changes: 2 additions & 1 deletion install/docker/template/Dockerfile.full.header
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RUN apt-get -y install \
# allow pip to install to system
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

RUN python3 -m pip install --upgrade pip
# 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

################################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/vscode-typescript
Submodule vscode-typescript updated 2 files
+2,016 −2,192 package-lock.json
+2 −2 package.json

0 comments on commit 9b4547b

Please sign in to comment.