Debian Codegraph @

Dockerfile

raw
1 # Copyright (c) Octave Kernel Development Team.
2 # Distributed under the terms of the Modified BSD License.
3 ARG BASE_CONTAINER=jupyter/minimal-notebook
4 FROM $BASE_CONTAINER
5
6 LABEL maintainer="Steven Silvester <[email protected]>"
7
8 USER root
9
10 # Install octave
11 ENV DEBIAN_FRONTEND noninteractive
12 RUN apt-get update && apt-get -yq dist-upgrade \
13 && apt-get install -yq --no-install-recommends \
14 octave \
15 && rm -rf /var/lib/apt/lists/*
16
17 USER $NB_UID
18
19 # Install extra packages
20 RUN conda install --quiet --yes \
21 'octave_kernel' && \
22 conda clean -tipy && \
23 fix-permissions $CONDA_DIR && \
24 fix-permissions /home/$NB_USER
25
26
27 USER $NB_UID