Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Nov 19, 2024
1 parent fe8f2c0 commit cd4dc51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN mkdir -p /pyrocket_scripts && \
chown -R root:staff /pyrocket_scripts && \
chmod -R 775 /pyrocket_scripts

# Install conda packages
# Install conda packages (will switch to NB_USER in script)
RUN /pyrocket_scripts/install-conda-packages.sh ${REPO_DIR}/environment.yml

# Install R, RStudio via Rocker scripts. Requires the prefix for a rocker Dockerfile
Expand All @@ -34,6 +34,9 @@ RUN /pyrocket_scripts/install-rocker.sh "verse_${R_VERSION}"
# Install linux packages after R installation since the R install scripts get rid of packages
RUN /pyrocket_scripts/install-apt-packages.sh ${REPO_DIR}/apt.txt

# Install some basic VS Code extensions
RUN /pyrocket_scripts/install-vscode-extensions.sh ${REPO_DIR}/vscode-extensions.txt

# Re-enable man pages disabled in Ubuntu 18 minimal image
# https://wiki.ubuntu.com/Minimal
RUN yes | unminimize
Expand All @@ -59,9 +62,6 @@ RUN mkdir -p ${XDG_CONFIG_HOME} && \
USER ${NB_USER}
RUN chmod +x ${REPO_DIR}/start \
&& cp ${REPO_DIR}/start /srv/start

# Install some basic VS Code extensions
RUN /pyrocket_scripts/install-vscode-extensions.sh ${REPO_DIR}/vscode-extensions.txt

# Revert to default user and home as pwd
USER ${NB_USER}
Expand Down

0 comments on commit cd4dc51

Please sign in to comment.