diff --git a/bitnami/jupyterhub/1/debian-11/Dockerfile b/bitnami/jupyterhub/1/debian-11/Dockerfile index 8cd3249eddae..2cc326e69197 100644 --- a/bitnami/jupyterhub/1/debian-11/Dockerfile +++ b/bitnami/jupyterhub/1/debian-11/Dockerfile @@ -1,35 +1,40 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/" \ - 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-r33" \ + org.opencontainers.image.ref.name="1.5.0-debian-11-r34" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jupyterhub" \ org.opencontainers.image.title="jupyterhub" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.5.0" +ENV HOME="/" \ + 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 libbrotli1 libc6 libcom-err2 libcrypt1 libcurl4 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle8 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libssh2-1 libstdc++6 libtasn1-6 libunistring2 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 jupyterhub-1.5.0-5-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyterhub-1.5.0-5-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f jupyterhub-1.5.0-5-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyterhub-1.5.0-5-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyterhub-1.5.0-5-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "5fb16b375a297326a262a101906ea0a684bd0a593a162ea70ed20f36beb32691 jupyterhub-1.5.0-5-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf jupyterhub-1.5.0-5-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf jupyterhub-1.5.0-5-linux-amd64-debian-11.tar.gz + sha256sum -c jupyterhub-1.5.0-5-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf jupyterhub-1.5.0-5-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf jupyterhub-1.5.0-5-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/jupyterhub/README.md b/bitnami/jupyterhub/README.md index 68d30d04aaee..a4ec4748f992 100644 --- a/bitnami/jupyterhub/README.md +++ b/bitnami/jupyterhub/README.md @@ -26,7 +26,7 @@ This image is meant to run in a Kubernetes cluster. Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r33`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyterhub/1/debian-11/Dockerfile) +* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r34`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyterhub/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).