Select Git revision
Forked from
RWTHjupyter / Example Profile
Source project has a limited visibility.
-
Dominique Unruh authoredDominique Unruh authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 710 B
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses:latest
FROM ${BASE_IMAGE}
ARG conda_env=python3
ARG py_ver=3.12
ARG disp_name="Python 3 (ipykernel)"
USER root
RUN apt update && apt install -y poppler-utils && apt clean
USER jovyan
RUN mamba create --yes -p "${CONDA_DIR}/envs/${conda_env}" python=${py_ver} ipython ipykernel && mamba clean --all -f -y
RUN "${CONDA_DIR}/envs/${conda_env}/bin/python" -m ipykernel install --prefix=${CONDA_DIR} --name="${conda_env}" --display-name "${disp_name}" && fix-permissions "${CONDA_DIR}" && fix-permissions "/home/${NB_USER}"
ADD requirements.txt .
RUN "${CONDA_DIR}/envs/${conda_env}/bin/pip" install --no-cache-dir -r requirements.txt