From 2eb648e428823e3b5e92967965beff61eb40e75d Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 7 Sep 2022 12:38:14 +0200 Subject: [PATCH] [bitnami/jupyter-base-notebook] Release 1.5.0-debian-11-r35 (#5459) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- .../1/debian-11/Dockerfile | 35 +++++++++++-------- bitnami/jupyter-base-notebook/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile b/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile index 9b4d9ac711b4..4dbb0aece36f 100644 --- a/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile +++ b/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile @@ -1,35 +1,40 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="1.5.0-debian-11-r34" \ + org.opencontainers.image.ref.name="1.5.0-debian-11-r35" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jupyter-base-notebook" \ org.opencontainers.image.title="jupyter-base-notebook" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.5.0" +ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ + OS_ARCH="${TARGETARCH:-amd64}" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl gzip libc6 libcrypt1 libgcc-s1 libstdc++6 procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "60138bae1b7541d2ecae75367eaa5ef158f6845dcb86ff746fc8402bdcae716b miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz + sha256sum -c miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f jupyter-base-notebook-1.5.0-153-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-1.5.0-153-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "bc05c93912ea76eb68dfc7fe070b0cedcdab1528e37f3118b2dd8c8a3df18251 jupyter-base-notebook-1.5.0-153-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf jupyter-base-notebook-1.5.0-153-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf jupyter-base-notebook-1.5.0-153-linux-amd64-debian-11.tar.gz + sha256sum -c jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf jupyter-base-notebook-1.5.0-153-linux-${OS_ARCH}-debian-11.tar.gz RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami diff --git a/bitnami/jupyter-base-notebook/README.md b/bitnami/jupyter-base-notebook/README.md index 57a194b02f55..e9ef9653af3e 100644 --- a/bitnami/jupyter-base-notebook/README.md +++ b/bitnami/jupyter-base-notebook/README.md @@ -29,7 +29,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`2`, `2-debian-11`, `2.3.1`, `2.3.1-debian-11-r35`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile) -* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r34` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile) +* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r35` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).