Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Jan 31, 2024
1 parent 2c4067f commit c469ab8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci/arcgis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ RUN mamba install --yes 'jupyter-server-proxy' && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

USER root
# Create dirs for startup hooks
RUN mkdir /usr/local/bin/before-notebook.d
RUN echo 'eval "$(conda shell.bash hook)"' > /usr/local/bin/before-notebook.d/10activate-conda-env.sh
USER ${NB_UID}

# Name your environment and choose the Python version
ARG env_name=base
# Note: uncommenting this section makes "${env_name}" default both for Jupyter Notebook and Terminals
# Note: this section makes "${env_name}" default both for Jupyter Notebook and Terminals
# More information here: https://github.com/jupyter/docker-stacks/pull/2047
USER root
RUN \
Expand Down

0 comments on commit c469ab8

Please sign in to comment.