Namespace
jupyter
Image / Tag
base-notebook:x86_64-2023-02-16
Content Digest
sha256:7592b46f89a22b1956f761e80c12119f66565d5ec12717b26058905216313df1
Details
Created

2023-02-16 07:40:57 UTC

Size

269 MB

Content Digest
Labels
  • maintainer
    Jupyter Project <jupyter@googlegroups.com>
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.04

Environment
CONDA_DIR

/opt/conda

DEBIAN_FRONTEND

noninteractive

HOME

/home/jovyan

JUPYTER_PORT

8888

LANG

en_US.UTF-8

LANGUAGE

en_US.UTF-8

LC_ALL

en_US.UTF-8

NB_GID

100

NB_UID

1000

NB_USER

jovyan

PATH

/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SHELL

/bin/bash


Layers

[#000] sha256:677076032cca0a2362d25cf3660072e738d1b96fe860409a33ce901d695d7ee8 - 10.47% (28.2 MB)

[#001] sha256:3a4dc36ea0a68d794557ed85e833f593708aff963b5ec2a8a529f62deecba550 - 4.06% (10.9 MB)

[#002] sha256:931a719662058af127659d1ee2de1e6d6093cf234b29e26f42e6f5b2c50eb2f9 - 0.0% (678 Bytes)

[#003] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#004] sha256:aae81b0567ee2eb28e41757553a35a9aeefee56c32dea024dc5b250e1bc099d0 - 0.0% (1.87 KB)

[#005] sha256:9fbbf950de38dec55f29e5e5fac5c36dbd20ea0c89a38e439a539157f7d74c6b - 0.0% (4.8 KB)

[#006] sha256:09ac37ae88357f7340a1a16616ab7ea1dc3a5f418720135f695386fc5f80c4d8 - 0.0% (152 Bytes)

[#007] sha256:1f1187dfd25b1bd7e43228011c5896c89b58f5a38a59c9dd58067da50f38a3e0 - 0.0% (278 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#009] sha256:ed874329b1085d42bffccf5df9352032fb90ee170a9f5b7eb2de5abe8e6defa4 - 32.35% (87 MB)

[#010] sha256:619dd01f411dcb72277d20d9dcbb12a5c149436927552c1a8f8decd030a3c066 - 0.0% (4.1 KB)

[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#012] sha256:1c9b157f0f507f6ac5feeb0a1dbb839fcbd6a1572a343ecae0ae8cb2da455d3f - 10.82% (29.1 MB)

[#013] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#014] sha256:6d02d5f5e4d3091bc9e620ebbd3d8690b8a84d6c541b783e6217979a8347f23c - 42.3% (114 MB)

[#015] sha256:641a03b9e480b1337ed264da5d93c73ce8d456e8b57036d8ee3ad63143fd128d - 0.0% (683 Bytes)

[#016] sha256:789daf13769d28dba5a4cd12cc051e0ae6f315ca8b78752b8c7c57351d41464d - 0.0% (1.04 KB)

[#017] sha256:483ae9912ea864d912b326cb2b2be42f46f103a5ed16f7a298d65657f0ed361d - 0.0% (1.11 KB)

[#018] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2023-01-26 04:57:59 UTC

/bin/sh -c #(nop) ARG RELEASE

2023-01-26 04:57:59 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2023-01-26 04:58:00 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2023-01-26 04:58:00 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2023-01-26 04:58:02 UTC

/bin/sh -c #(nop) ADD file:18e71f049606f6339ce7a995839623f50e6ec6474bfd0a3a7ca799db726f47f6 in /

2023-01-26 04:58:02 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Jupyter Project <jupyter@googlegroups.com>

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ARG NB_USER=jovyan

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ARG NB_UID=1000

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ARG NB_GID=100

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -c]

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

USER root

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

RUN |3 NB_USER=jovyan NB_UID=1000 NB_GID=100 /bin/bash -o pipefail -c apt-get update --yes && apt-get upgrade --yes && apt-get install --yes --no-install-recommends bzip2 ca-certificates locales sudo tini wget && apt-get clean && rm -rf /var/lib/apt/lists/* && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen # buildkit

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ENV CONDA_DIR=/opt/conda SHELL=/bin/bash NB_USER=jovyan NB_UID=1000 NB_GID=100 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/home/jovyan

2023-02-16 07:36:53 UTC (buildkit.dockerfile.v0)

COPY fix-permissions /usr/local/bin/fix-permissions # buildkit

2023-02-16 07:36:54 UTC (buildkit.dockerfile.v0)

RUN |3 NB_USER=jovyan NB_UID=1000 NB_GID=100 /bin/bash -o pipefail -c chmod a+rx /usr/local/bin/fix-permissions # buildkit

2023-02-16 07:36:54 UTC (buildkit.dockerfile.v0)

RUN |3 NB_USER=jovyan NB_UID=1000 NB_GID=100 /bin/bash -o pipefail -c sed -i 's/^#force_color_prompt=yes/force_color_prompt=yes/' /etc/skel/.bashrc && echo 'eval "$(command conda shell.bash hook 2> /dev/null)"' >> /etc/skel/.bashrc # buildkit

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

RUN |3 NB_USER=jovyan NB_UID=1000 NB_GID=100 /bin/bash -o pipefail -c echo "auth requisite pam_deny.so" >> /etc/pam.d/su && sed -i.bak -e 's/^%admin/#%admin/' /etc/sudoers && sed -i.bak -e 's/^%sudo/#%sudo/' /etc/sudoers && useradd -l -m -s /bin/bash -N -u "${NB_UID}" "${NB_USER}" && mkdir -p "${CONDA_DIR}" && chown "${NB_USER}:${NB_GID}" "${CONDA_DIR}" && chmod g+w /etc/passwd && fix-permissions "${HOME}" && fix-permissions "${CONDA_DIR}" # buildkit

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

USER 1000

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

ARG PYTHON_VERSION=3.10

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

RUN |4 NB_USER=jovyan NB_UID=1000 NB_GID=100 PYTHON_VERSION=3.10 /bin/bash -o pipefail -c mkdir "/home/${NB_USER}/work" && fix-permissions "/home/${NB_USER}" # buildkit

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

COPY initial-condarc /opt/conda/.condarc # buildkit

2023-02-16 07:36:55 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

RUN |4 NB_USER=jovyan NB_UID=1000 NB_GID=100 PYTHON_VERSION=3.10 /bin/bash -o pipefail -c set -x && arch=$(uname -m) && if [ "${arch}" = "x86_64" ]; then arch="64"; fi && wget -qO /tmp/micromamba.tar.bz2 "https://micromamba.snakepit.net/api/micromamba/linux-${arch}/latest" && tar -xvjf /tmp/micromamba.tar.bz2 --strip-components=1 bin/micromamba && rm /tmp/micromamba.tar.bz2 && PYTHON_SPECIFIER="python=${PYTHON_VERSION}" && if [[ "${PYTHON_VERSION}" == "default" ]]; then PYTHON_SPECIFIER="python"; fi && ./micromamba install --root-prefix="${CONDA_DIR}" --prefix="${CONDA_DIR}" --yes "${PYTHON_SPECIFIER}" 'mamba' 'jupyter_core' && rm micromamba && mamba list python | grep '^python ' | tr -s ' ' | cut -d ' ' -f 1,2 >> "${CONDA_DIR}/conda-meta/pinned" && mamba clean --all -f -y && fix-permissions "${CONDA_DIR}" && fix-permissions "/home/${NB_USER}" # buildkit

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tini" "-g" "--"]

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

CMD ["start.sh"]

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/local/bin/ # buildkit

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

USER 1000

2023-02-16 07:37:48 UTC (buildkit.dockerfile.v0)

WORKDIR /home/jovyan

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Jupyter Project <jupyter@googlegroups.com>

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -o pipefail -c]

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

USER root

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -c apt-get update --yes && apt-get install --yes --no-install-recommends fonts-liberation pandoc run-one && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

USER 1000

2023-02-16 07:39:51 UTC (buildkit.dockerfile.v0)

WORKDIR /tmp

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -c mamba install --quiet --yes 'notebook' 'jupyterhub' 'jupyterlab' && jupyter notebook --generate-config && mamba clean --all -f -y && npm cache clean --force && jupyter lab clean && rm -rf "/home/${NB_USER}/.cache/yarn" && fix-permissions "${CONDA_DIR}" && fix-permissions "/home/${NB_USER}" # buildkit

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

ENV JUPYTER_PORT=8888

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[8888/tcp:{}]

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

CMD ["start-notebook.sh"]

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

COPY start-notebook.sh start-singleuser.sh /usr/local/bin/ # buildkit

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

COPY jupyter_server_config.py /etc/jupyter/ # buildkit

2023-02-16 07:40:56 UTC (buildkit.dockerfile.v0)

USER root

2023-02-16 07:40:57 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -o pipefail -c sed -re "s/c.ServerApp/c.NotebookApp/g" /etc/jupyter/jupyter_server_config.py > /etc/jupyter/jupyter_notebook_config.py && fix-permissions /etc/jupyter/ # buildkit

2023-02-16 07:40:57 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "wget -O- --no-verbose --tries=1 --no-check-certificate http${GEN_CERT:+s}://localhost:${JUPYTER_PORT}${JUPYTERHUB_SERVICE_PREFIX:-/}api || exit 1"] "5s" "3s" "5s" '\x03'}

2023-02-16 07:40:57 UTC (buildkit.dockerfile.v0)

USER 1000

2023-02-16 07:40:57 UTC (buildkit.dockerfile.v0)

WORKDIR /home/jovyan

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete