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.
2 parents b1925d4 + daf369f commit 656ef53Copy full SHA for 656ef53
1 file changed
base-image/Dockerfile
@@ -50,10 +50,7 @@ RUN echo "Creating ${NB_USER} user..." \
50
# Note this is only read by shell, but not by the jupyter notebook - that relies
51
# on us starting the correct `python` process, which we do by adding the notebook conda environment's
52
# bin to PATH earlier ($NB_PYTHON_PREFIX/bin)
53
-RUN echo 'if [[ ! -v RSTUDIO || ! -v R_HOME ]]; then \
54
- . ${CONDA_DIR}/etc/profile.d/conda.sh; \
55
- conda activate ${CONDA_ENV}; \
56
-fi' > /etc/profile.d/init_conda.sh
+RUN echo ". ${CONDA_DIR}/etc/profile.d/conda.sh ; conda activate ${CONDA_ENV}" > /etc/profile.d/init_conda.sh
57
58
# Install basic apt packages
59
RUN echo "Installing Apt-get packages..." \
0 commit comments