2022-10-01 17:30:14 -07:00
|
|
|
ARG BASE_CONTAINER=betalupi/jupyter-base
|
|
|
|
FROM $BASE_CONTAINER
|
|
|
|
LABEL maintainer="Mark <mark@betalupi.com>"
|
|
|
|
|
|
|
|
USER ${NB_UID}
|
|
|
|
|
|
|
|
RUN mamba install --yes \
|
|
|
|
"jupyterlab-git" \
|
2023-02-11 15:53:55 -08:00
|
|
|
"jupyterlab-link-share" \
|
2022-10-01 17:30:14 -07:00
|
|
|
&& \
|
|
|
|
# Cleanup
|
|
|
|
mamba clean --all -f -y && \
|
|
|
|
npm cache clean --force && \
|
|
|
|
jupyter lab clean && \
|
|
|
|
rm -rf "/home/${NB_USER}/.cache/yarn" && \
|
|
|
|
fix-permissions "${CONDA_DIR}" && \
|
|
|
|
fix-permissions "/home/${NB_USER}"
|