Skip to content

Commit

Permalink
Test which image in use
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed May 9, 2024
1 parent 7d110b2 commit f3970a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ COPY --chown=rstudio:rstudio --from=ghcr.io/opensafely-core/python:v2 /opt/venv
# hadolint ignore=DL3022
COPY --chown=rstudio:rstudio --from=ghcr.io/opensafely-core/r:latest /renv/lib/R-4.0/x86_64-pc-linux-gnu/ /usr/local/lib/R/site-library

RUN cp /opt/venv/bin/python3.10 /home/rstudio/testthing

# Required for installing opensafely cli
ENV PATH="/home/rstudio/.local/bin:${PATH}"

Expand Down
2 changes: 2 additions & 0 deletions tests/dev_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ curl -L http://localhost:8787 | grep "RStudio"
# Check the RStudio server installation
sudo rstudio-server stop
sudo rstudio-server verify-installation

ls -hla /home/rstudio

0 comments on commit f3970a5

Please sign in to comment.