mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
24 lines
549 B
Docker
24 lines
549 B
Docker
FROM quay.io/jupyter/base-notebook
|
|
|
|
USER root
|
|
|
|
RUN apt-get update --yes && \
|
|
apt-get install --yes --no-install-recommends \
|
|
make \
|
|
g++ && \
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
USER ${NB_UID}
|
|
|
|
# NodeJS <= 20 is required
|
|
# https://github.com/n-riesco/ijavascript/issues/184
|
|
RUN mamba install --yes nodejs=20.* && \
|
|
mamba clean --all -f -y && \
|
|
fix-permissions "${CONDA_DIR}" && \
|
|
fix-permissions "/home/${NB_USER}"
|
|
|
|
# hadolint ignore=DL3016
|
|
RUN npm install -g ijavascript
|
|
# hadolint ignore=DL3059
|
|
RUN ijsinstall
|