Skip to content

Commit

Permalink
Trivial: Moved flags to command in Containerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Wittig committed Aug 29, 2024
1 parent e2707e7 commit 034dd07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/ananke-base/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RUN bash -c "source /opt/conda/etc/profile.d/conda.sh; \
pycurl \
python=$PYTHON_VERSION; \
conda clean -afy"

RUN bash -c "source /opt/conda/etc/profile.d/conda.sh; \
conda activate python3; \
conda install -y \
Expand Down Expand Up @@ -98,9 +99,7 @@ RUN bash -c "source /opt/conda/etc/profile.d/conda.sh; \
python -m ipykernel install --prefix=/opt/conda/envs/python3/ --display-name 'Python 3 (all users)'; \
conda activate jhub; \
jupyter kernelspec remove -y python3; \
python -m nb_conda_kernels list \
--CondaKernelSpecManager.kernelspec_path='--sys-prefix' \
--CondaKernelSpecManager.name_format='{display_name}'"
python -m nb_conda_kernels list --CondaKernelSpecManager.kernelspec_path='--sys-prefix' --CondaKernelSpecManager.name_format='{display_name}'"

# copy JupyterHub config files
COPY ./assets/jupyterhub_config.py /opt/conda/envs/jhub/etc/jupyterhub/jupyterhub_config.py
Expand Down

0 comments on commit 034dd07

Please sign in to comment.