mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
Fix ijavascript example (#2143)
* Fix ijavascript example * Better naming
This commit is contained in:
23
docs/using/recipe_code/ijavascript.dockerfile
Normal file
23
docs/using/recipe_code/ijavascript.dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
Reference in New Issue
Block a user