2.0.0-debian-10-r0 release

This commit is contained in:
Bitnami Bot 2021-12-20 19:03:21 +00:00
parent 9ea652d8d7
commit 6ed1af0d5f
7 changed files with 83 additions and 3 deletions

View File

@ -0,0 +1,29 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip libc6 libgcc1 libstdc++6 procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/miniconda-4.10.3-0-linux-amd64-debian-10.tar.gz && \
echo "54517d6ea3a8f4d8f619db061b0c056aaafb6cf308ad0fe2c4357f41c007ec61 /tmp/bitnami/pkg/cache/miniconda-4.10.3-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/miniconda-4.10.3-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/miniconda-4.10.3-0-linux-amd64-debian-10.tar.gz
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-2.0.0-0-linux-amd64-debian-10.tar.gz && \
echo "2c06fb78a566594723fd6954a3786f80a539cb562b26f84505611d94defb4914 /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.0.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.0.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.0.0-0-linux-amd64-debian-10.tar.gz
RUN chmod g+rwX /opt/bitnami
RUN mkdir /opt/bitnami/jupyterhub-singleuser/ && chmod g+rwX /opt/bitnami/jupyterhub-singleuser/
ENV BITNAMI_APP_NAME="jupyter-base-notebook" \
BITNAMI_IMAGE_VERSION="2.0.0-debian-10-r0" \
PATH="/opt/bitnami/miniconda/bin:$PATH"
USER 1001
ENTRYPOINT [ "tini", "-g", "--" ]
CMD [ "jupyterhub-singleuser" ]

View File

@ -0,0 +1,7 @@
version: '2'
services:
jupyter-base-notebook:
image: docker.io/bitnami/jupyter-base-notebook:2
command: ["tail", "-f", "/dev/null"]
ports:
- 8888:8888

View File

@ -0,0 +1,16 @@
{
"jupyter-base-notebook": {
"arch": "amd64",
"digest": "2c06fb78a566594723fd6954a3786f80a539cb562b26f84505611d94defb4914",
"distro": "debian-10",
"type": "NAMI",
"version": "2.0.0-0"
},
"miniconda": {
"arch": "amd64",
"digest": "54517d6ea3a8f4d8f619db061b0c056aaafb6cf308ad0fe2c4357f41c007ec61",
"distro": "debian-10",
"type": "NAMI",
"version": "4.10.3-0"
}
}

View File

@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@ -0,0 +1,24 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
rm -r /var/lib/apt/lists /var/cache/apt/archives

View File

@ -31,7 +31,8 @@ $ docker run --name jupyter-base-notebook bitnami/jupyter-base-notebook:latest
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-10`, `1.5.0`, `1.5.0-debian-10-r37`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/1.5.0-debian-10-r37/1/debian-10/Dockerfile)
* [`2`, `2-debian-10`, `2.0.0`, `2.0.0-debian-10-r0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/2.0.0-debian-10-r0/2/debian-10/Dockerfile)
* [`1`, `1-debian-10`, `1.5.0`, `1.5.0-debian-10-r37` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/1.5.0-debian-10-r37/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/jupyter-base-notebook GitHub repo](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook).
@ -52,7 +53,7 @@ $ docker pull bitnami/jupyter-base-notebook:[TAG]
If you wish, you can also build the image yourself.
```console
$ docker build -t bitnami/jupyter-base-notebook:latest 'https://github.com/bitnami/bitnami-docker-jupyter-base-notebook.git#master:1/debian-10'
$ docker build -t bitnami/jupyter-base-notebook:latest 'https://github.com/bitnami/bitnami-docker-jupyter-base-notebook.git#master:2/debian-10'
```
## Why use a non-root container?

View File

@ -1,7 +1,7 @@
version: '2'
services:
jupyter-base-notebook:
image: docker.io/bitnami/jupyter-base-notebook:1
image: docker.io/bitnami/jupyter-base-notebook:2
command: ["tail", "-f", "/dev/null"]
ports:
- 8888:8888