Skip to content

Commit

Permalink
Name python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongmassey committed May 2, 2024
1 parent cdd84e6 commit f12e6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN echo "auth-none=1" >> /etc/rstudio/rserver.conf && echo "USER=rstudio" >> /e
# DL3022: hadolint can't access a network and doesn't behave
# as expected when a reference is made to an external image.
# hadolint ignore=DL3022
COPY --from=ghcr.io/opensafely-core/python:v2 /opt/venv /opt/venv
COPY --chown=rstudio:rstudio --from=ghcr.io/opensafely-core/python:v2 /opt/venv /opt/venv/python-v2/

# Create a local user and give it sudo (aka root) permissions
RUN usermod -aG sudo rstudio &&\
Expand Down

0 comments on commit f12e6cd

Please sign in to comment.