Skip to content

Commit

Permalink
Update Dockerfile to break system packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kmagusiak committed Jun 24, 2024
1 parent 92f7111 commit 5925858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ run curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.d
# Create the vscode development image
# python (dev) requirements
from ${DOCKER_BASE_IMAGE} as dev
user root
add requirements-dev.txt /tmp
run cd /tmp \
&& pip3 install --no-cache -r /tmp/requirements-dev.txt \
&& pip3 install --break-system-packages --no-cache -r /tmp/requirements-dev.txt \
&& rm -f /tmp/requirements-dev.txt

# use a single user for both running the container and devcontainer
Expand Down

0 comments on commit 5925858

Please sign in to comment.