balloon-calc (39b7ea91b9)

Published 2023-07-17 23:44:19 +00:00 by sp9unb

Installation

docker pull forge.citizen4.eu/sp9unb/balloon-calc:39b7ea91b9
sha256:a229c3fc23f5e93e2250406e29831ac5690c41d75f80cf9cf2c8192798a04da4

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:140fb5108b4a2861b5718ad03b4a5174bba03589ea8d4c053e6a0b282f439ff3 in /
CMD ["/bin/bash"]
LABEL maintainer=Jupyter Project <jupyter@googlegroups.com>
ARG NB_USER=jovyan
ARG NB_UID=1000
ARG NB_GID=100
SHELL [/bin/bash -o pipefail -c]
USER root
ENV DEBIAN_FRONTEND=noninteractive
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
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
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/home/jovyan
COPY fix-permissions /usr/local/bin/fix-permissions # buildkit
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
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
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
USER 1000
ARG PYTHON_VERSION=3.11
RUN |4 NB_USER=jovyan NB_UID=1000 NB_GID=100 PYTHON_VERSION=3.11 /bin/bash -o pipefail -c mkdir "/home/${NB_USER}/work" && fix-permissions "/home/${NB_USER}" # buildkit
COPY initial-condarc /opt/conda/.condarc # buildkit
WORKDIR /tmp
RUN |4 NB_USER=jovyan NB_UID=1000 NB_GID=100 PYTHON_VERSION=3.11 /bin/bash -o pipefail -c set -x && arch=$(uname -m) && if [ "${arch}" = "x86_64" ]; then arch="64"; fi && wget --progress=dot:giga -O /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
ENTRYPOINT ["tini" "-g" "--"]
CMD ["start.sh"]
COPY start.sh /usr/local/bin/ # buildkit
USER 1000
WORKDIR /home/jovyan
LABEL maintainer=Jupyter Project <jupyter@googlegroups.com>
SHELL [/bin/bash -o pipefail -c]
USER root
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
USER 1000
WORKDIR /tmp
RUN /bin/bash -o pipefail -c mamba install --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
ENV JUPYTER_PORT=8888
EXPOSE map[8888/tcp:{}]
CMD ["start-notebook.sh"]
COPY start-notebook.sh start-singleuser.sh /usr/local/bin/ # buildkit
COPY jupyter_server_config.py docker_healthcheck.py /etc/jupyter/ # buildkit
USER root
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
HEALTHCHECK &{["CMD-SHELL" "/etc/jupyter/docker_healthcheck.py || exit 1"] "5s" "3s" "5s" '\x03'}
USER 1000
WORKDIR /home/jovyan
HEALTHCHECK &{["NONE"] "0s" "0s" "0s" '\x00'}
COPY file:313edeb1edbc2525c54ec86406ab215b7252d3e4b2e846584a9b17a7e1c1f3da in .
COPY file:d8818e0ff32d9cfbf7d4b720151383160808fcef23a3ff56a1c7cd421f8db070 in .
/bin/bash -o pipefail -c python3 -m pip install --user --no-cache-dir -r requirements.txt
USER root
ENV PYTHONPATH=/home/jovyan/work/
USER jovyan
COPY dir:b7194d29f48c709f9d87c56458373d670635445423b8123f615e52c2dd48f26a in work
EXPOSE 8866
CMD ["./run_voila"]
LABEL org.opencontainers.image.created=2023-07-17T23:43:06Z
LABEL org.opencontainers.image.revision=39b7ea91b9a7925b8f15919f270a7f44985553a2
LABEL org.opencontainers.image.source=https://forge.citizen4.eu/sp9unb/balloon-calc.git
LABEL org.opencontainers.image.url=https://forge.citizen4.eu/sp9unb/balloon-calc

Labels

Key Value
maintainer Jupyter Project <jupyter@googlegroups.com>
org.opencontainers.image.created 2023-07-17T23:43:06Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 39b7ea91b9a7925b8f15919f270a7f44985553a2
org.opencontainers.image.source https://forge.citizen4.eu/sp9unb/balloon-calc.git
org.opencontainers.image.url https://forge.citizen4.eu/sp9unb/balloon-calc
org.opencontainers.image.version 22.04
Details
Container
2023-07-17 23:44:19 +00:00
2
OCI / Docker
linux/amd64
345 MiB
Versions (2) View all
latest 2023-07-17
39b7ea91b9 2023-07-17