We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 656ef53 commit 9ae2bb3Copy full SHA for 9ae2bb3
1 file changed
Dockerfile
@@ -20,6 +20,12 @@ ENV REPO_DIR="/srv/repo" \
20
ARG R_VERSION_PULL="4.4.2"
21
ENV LANG=en_US.UTF-8
22
ENV LC_ALL=en_US.UTF-8
23
+
24
+# Fix init_conda.sh so that it only runs if we are in Jupyter Lab and not RStudio
25
+RUN echo 'if [[ ! -v RSTUDIO || ! -v R_HOME ]]; then \
26
+ . ${CONDA_DIR}/etc/profile.d/conda.sh; \
27
+ conda activate ${CONDA_ENV}; \
28
+fi' > /etc/profile.d/init_conda.sh
29
30
# Add NB_USER to staff group (required for rocker script)
31
# Ensure the staff group exists first
0 commit comments