Skip to content

Commit fece69c

Browse files
authored
Update Dockerfile
1 parent 98a852c commit fece69c

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

Dockerfile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# Date: 2022-12-08
2-
FROM debian:stable
2+
# Copyright (c) Jupyter Development Team.
3+
# Distributed under the terms of the Modified BSD License.
4+
ARG OWNER=jupyter
5+
ARG BASE_CONTAINER=$OWNER/scipy-notebook
6+
FROM $BASE_CONTAINER
37

4-
RUn apt-get update
8+
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
59

6-
RUN apt-get install r-base r-base-dev -y
10+
# Fix: https://github.com/hadolint/hadolint/wiki/DL4006
11+
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
12+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
713

8-
RUN Rscript -e "install.packages('cowsay')"
14+
# Install Tensorflow
15+
RUN mamba install --quiet --yes \
16+
'tensorflow' && \
17+
mamba clean --all -f -y && \
18+
fix-permissions "${CONDA_DIR}" && \
19+
fix-permissions "/home/${NB_USER}"

0 commit comments

Comments
 (0)