Skip to content

Commit 399cbb9

Browse files
authored
Merge pull request #1194 from romainx/update_2020-12-01
Regular update + improvements
2 parents c99a152 + 0130403 commit 399cbb9

File tree

5 files changed

+20
-23
lines changed

5 files changed

+20
-23
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ALL_IMAGES:=$(ALL_STACKS)
2525

2626
# Dockerfile Linter
2727
HADOLINT="${HOME}/hadolint"
28-
HADOLINT_VERSION="v1.18.2"
28+
HADOLINT_VERSION="v1.19.0"
2929

3030
help:
3131
# http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html

all-spark-notebook/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN conda install --quiet --yes \
2727
'r-ggplot2=3.3*' \
2828
'r-irkernel=1.1*' \
2929
'r-rcurl=1.98*' \
30-
'r-sparklyr=1.4*' \
30+
'r-sparklyr=1.5*' \
3131
&& \
3232
conda clean --all -f -y && \
3333
fix-permissions "${CONDA_DIR}" && \

base-notebook/Dockerfile

+14-17
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Ubuntu 20.04 (focal)
55
# https://hub.docker.com/_/ubuntu/?tab=tags&name=focal
66
# OS/ARCH: linux/amd64
7-
ARG ROOT_CONTAINER=ubuntu:focal-20201008@sha256:1d7b639619bdca2d008eca2d5293e3c43ff84cbee597ff76de3b7a7de3e84956
7+
ARG ROOT_CONTAINER=ubuntu:focal-20201106@sha256:4e4bc990609ed865e07afc8427c30ffdddca5153fd4e82c20d8f0783a291e241
88

99
ARG BASE_CONTAINER=$ROOT_CONTAINER
1010
FROM $BASE_CONTAINER
@@ -24,9 +24,9 @@ USER root
2424
# (ARGS are in lower case to distinguish them from ENV)
2525
# Check https://github.com/conda-forge/miniforge/releases
2626
# Conda version
27-
ARG conda_version="4.9.0"
27+
ARG conda_version="4.9.2"
2828
# Miniforge installer patch version
29-
ARG miniforge_patch_number="4"
29+
ARG miniforge_patch_number="0"
3030
# Miniforge installer architecture
3131
ARG miniforge_arch="x86_64"
3232
# Python implementation to use
@@ -38,15 +38,14 @@ ARG miniforge_version="${conda_version}-${miniforge_patch_number}"
3838
# Miniforge installer
3939
ARG miniforge_installer="${miniforge_python}-${miniforge_version}-Linux-${miniforge_arch}.sh"
4040
# Miniforge checksum
41-
ARG miniforge_checksum="dae28a05f0fcfed0b47c66468e8434ab42cb1ff90de96540a506949cdecd2b5a"
41+
ARG miniforge_checksum="6321775eb2c02d7f51d3a9004ce0be839099f126f4099c781531428536669560"
4242

4343
# Install all OS dependencies for notebook server that starts but lacks all
4444
# features (e.g., download as all possible file formats)
4545
ENV DEBIAN_FRONTEND noninteractive
4646
RUN apt-get update \
4747
&& apt-get install -yq --no-install-recommends \
4848
wget \
49-
bzip2 \
5049
ca-certificates \
5150
sudo \
5251
locales \
@@ -68,7 +67,8 @@ ENV CONDA_DIR=/opt/conda \
6867
LANGUAGE=en_US.UTF-8
6968
ENV PATH=$CONDA_DIR/bin:$PATH \
7069
HOME=/home/$NB_USER \
71-
CONDA_VERSION="${conda_version}"
70+
CONDA_VERSION="${conda_version}" \
71+
MINIFORGE_VERSION="${miniforge_version}"
7272

7373
# Copy a script that we will use to correct permissions after running certain commands
7474
COPY fix-permissions /usr/local/bin/fix-permissions
@@ -102,6 +102,7 @@ RUN mkdir "/home/$NB_USER/work" && \
102102
# Install conda as jovyan and check the sha256 sum provided on the download site
103103
WORKDIR /tmp
104104

105+
# Prerequisites installation: conda, pip, tini
105106
RUN wget --quiet "https://github.com/conda-forge/miniforge/releases/download/${miniforge_version}/${miniforge_installer}" && \
106107
echo "${miniforge_checksum} *${miniforge_installer}" | sha256sum --check && \
107108
/bin/bash "${miniforge_installer}" -f -b -p $CONDA_DIR && \
@@ -112,18 +113,14 @@ RUN wget --quiet "https://github.com/conda-forge/miniforge/releases/download/${m
112113
conda config --system --set show_channel_urls true && \
113114
if [ ! $PYTHON_VERSION = 'default' ]; then conda install --yes python=$PYTHON_VERSION; fi && \
114115
conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> $CONDA_DIR/conda-meta/pinned && \
115-
conda install --quiet --yes "conda=${CONDA_VERSION}" && \
116-
conda install --quiet --yes pip && \
116+
conda install --quiet --yes \
117+
"conda=${CONDA_VERSION}" \
118+
'pip' \
119+
'tini=0.18.0' && \
117120
conda update --all --quiet --yes && \
118-
conda clean --all -f -y && \
119-
rm -rf /home/$NB_USER/.cache/yarn && \
120-
fix-permissions $CONDA_DIR && \
121-
fix-permissions /home/$NB_USER
122-
123-
# Install Tini
124-
RUN conda install --quiet --yes 'tini=0.18.0' && \
125121
conda list tini | grep tini | tr -s ' ' | cut -d ' ' -f 1,2 >> $CONDA_DIR/conda-meta/pinned && \
126122
conda clean --all -f -y && \
123+
rm -rf /home/$NB_USER/.cache/yarn && \
127124
fix-permissions $CONDA_DIR && \
128125
fix-permissions /home/$NB_USER
129126

@@ -134,8 +131,8 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
134131
# Do all this in a single RUN command to avoid duplicating all of the
135132
# files across image layers when the permissions change
136133
RUN conda install --quiet --yes \
137-
'notebook=6.1.4' \
138-
'jupyterhub=1.2.1' \
134+
'notebook=6.1.5' \
135+
'jupyterhub=1.2.2' \
139136
'jupyterlab=2.2.9' && \
140137
conda clean --all -f -y && \
141138
npm cache clean --force && \

datascience-notebook/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ USER root
1818
# Default values can be overridden at build time
1919
# (ARGS are in lower case to distinguish them from ENV)
2020
# Check https://julialang.org/downloads/
21-
ARG julia_version="1.5.2"
21+
ARG julia_version="1.5.3"
2222
# SHA256 checksum
23-
ARG julia_checksum="6da704fadcefa39725503e4c7a9cfa1a570ba8a647c4bd8de69a118f43584630"
23+
ARG julia_checksum="f190c938dd6fed97021953240523c9db448ec0a6760b574afd4e9924ab5615f1"
2424

2525
# R pre-requisites
2626
RUN apt-get update && \

scipy-notebook/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN conda install --quiet --yes \
2424
'cython=0.29.*' \
2525
'dask=2.30.*' \
2626
'dill=0.3.*' \
27-
'h5py=2.10.*' \
27+
'h5py=3.1.*' \
2828
'ipywidgets=7.5.*' \
2929
'ipympl=0.5.*'\
3030
'matplotlib-base=3.3.*' \
@@ -40,7 +40,7 @@ RUN conda install --quiet --yes \
4040
'seaborn=0.11.*' \
4141
'sqlalchemy=1.3.*' \
4242
'statsmodels=0.12.*' \
43-
'sympy=1.6.*' \
43+
'sympy=1.7.*' \
4444
'vincent=0.4.*' \
4545
'widgetsnbextension=3.5.*'\
4646
'xlrd=1.2.*' \

0 commit comments

Comments
 (0)