mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
15 lines
481 B
Docker
15 lines
481 B
Docker
ARG BASE_IMAGE=quay.io/jupyter/base-notebook
|
|
FROM $BASE_IMAGE
|
|
|
|
RUN mamba install --yes 'flake8' && \
|
|
mamba clean --all -f -y && \
|
|
fix-permissions "${CONDA_DIR}" && \
|
|
fix-permissions "/home/${NB_USER}"
|
|
|
|
# Install from the requirements.txt file
|
|
COPY --chown=${NB_UID}:${NB_GID} requirements.txt /tmp/
|
|
RUN mamba install --yes --file /tmp/requirements.txt && \
|
|
mamba clean --all -f -y && \
|
|
fix-permissions "${CONDA_DIR}" && \
|
|
fix-permissions "/home/${NB_USER}"
|