-
Notifications
You must be signed in to change notification settings - Fork 3k
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (20 loc) · 739 Bytes
/
Dockerfile
File metadata and controls
27 lines (20 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
ARG REGISTRY=quay.io
ARG OWNER=jupyter
ARG BASE_IMAGE=$REGISTRY/$OWNER/minimal-notebook
FROM $BASE_IMAGE
LABEL maintainer="Jupyter Project <[email protected]>"
# Fix: https://github.com/hadolint/hadolint/wiki/DL4006
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
# Julia dependencies
# install Julia packages in /opt/julia instead of ${HOME}
ENV JULIA_DEPOT_PATH=/opt/julia \
JULIA_PKGDIR=/opt/julia
# Setup Julia
RUN /opt/setup-scripts/setup_julia.py
USER ${NB_UID}
# Setup IJulia kernel & other packages
RUN /opt/setup-scripts/setup-julia-packages.bash