g4e-ml-private (sha256:72ae99c97a7fcf1b020eaf247dc94d7e3735873b2b2e5c26fedb7643062e06df)

Published 2026-04-08 11:59:06 +00:00 by j34ni

Installation

docker pull forgejo-j34ni.duckdns.org/j34ni/g4e-ml-private@sha256:72ae99c97a7fcf1b020eaf247dc94d7e3735873b2b2e5c26fedb7643062e06df
sha256:72ae99c97a7fcf1b020eaf247dc94d7e3735873b2b2e5c26fedb7643062e06df

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:59e67123ba6a5d9eea9813e7b2a767696f767c15c5b23c61c4d5bd6ba6fa9ac6 in /
CMD ["/bin/bash"]
LABEL org.opencontainers.image.source=https://github.com/pangeo-data/pangeo-docker-images
ENV CONDA_ENV=notebook DEBIAN_FRONTEND=noninteractive NB_USER=jovyan NB_UID=1000 SHELL=/bin/bash LANG=C.UTF-8 LC_ALL=C.UTF-8 CONDA_DIR=/srv/conda
ENV NB_PYTHON_PREFIX=/srv/conda/envs/notebook HOME=/home/jovyan
ENV PATH=/srv/conda/envs/notebook/bin:/srv/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV DASK_ROOT_CONFIG=/srv/conda/etc
RUN /bin/sh -c echo "Creating ${NB_USER} user..." && groupadd --gid ${NB_UID} ${NB_USER} && useradd --create-home --gid ${NB_UID} --no-log-init --uid ${NB_UID} ${NB_USER} && chown -R ${NB_USER}:${NB_USER} /srv # buildkit
RUN /bin/sh -c echo ". ${CONDA_DIR}/etc/profile.d/conda.sh ; conda activate ${CONDA_ENV}" > /etc/profile.d/init_conda.sh # buildkit
RUN /bin/sh -c echo "Installing Apt-get packages..." && apt-get update --fix-missing > /dev/null && apt-get install -y apt-utils wget zip tzdata > /dev/null && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
ENV TZ=UTC
USER jovyan
WORKDIR /home/jovyan
RUN /bin/sh -c echo "Installing Miniforge..." && URL="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-$(uname -m).sh" && wget --quiet ${URL} -O installer.sh && /bin/bash installer.sh -u -b -p ${CONDA_DIR} && rm installer.sh && mamba install conda-lock -y && mamba clean -afy && find ${CONDA_DIR} -follow -type f -name '*.a' -delete # buildkit
EXPOSE map[8888/tcp:{}]
ENTRYPOINT ["/srv/start"]
USER root
COPY --chown=jovyan:jovyan . /home/jovyan # buildkit
RUN /bin/sh -c echo "Checking for 'binder' or '.binder' subfolder" ; if [ -d binder ] ; then echo "Using 'binder/' build context" ; elif [ -d .binder ] ; then echo "Using '.binder/' build context" ; else echo "Using './' build context" ; fi # buildkit
RUN /bin/sh -c echo "Checking for 'apt.txt'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "apt.txt" ; then apt-get update --fix-missing > /dev/null && xargs -a apt.txt apt-get install -y && apt-get clean && rm -rf /var/lib/apt/lists/* ; fi # buildkit
RUN /bin/sh -c echo "Checking for 'jupyter_notebook_config.py'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "jupyter_notebook_config.py" ; then mkdir -p /etc/jupyter && cp jupyter_notebook_config.py /etc/jupyter ; fi # buildkit
USER jovyan
RUN /bin/sh -c echo "Checking for 'conda-lock.yml' or 'environment.yml'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "conda-lock.yml" ; then echo "Using conda-lock.yml" & conda-lock install --name ${CONDA_ENV} ; elif test -f "environment.yml" ; then echo "Using environment.yml" & mamba env create --name ${CONDA_ENV} -f environment.yml ; else echo "No conda-lock.yml or environment.yml! *creating default env*" ; mamba create --name ${CONDA_ENV} pangeo-notebook ; fi && mamba clean -yaf && find ${CONDA_DIR} -follow -type f -name '*.a' -delete && find ${CONDA_DIR} -follow -type f -name '*.js.map' -delete ; if ls ${NB_PYTHON_PREFIX}/lib/python*/site-packages/bokeh/server/static > /dev/null 2>&1; then find ${NB_PYTHON_PREFIX}/lib/python*/site-packages/bokeh/server/static -follow -type f -name '*.js' ! -name '*.min.js' -delete ; fi # buildkit
RUN /bin/sh -c echo "Checking for pip 'requirements.txt'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "requirements.txt" ; then ${NB_PYTHON_PREFIX}/bin/pip install --no-cache -r requirements.txt ; fi # buildkit
RUN /bin/sh -c echo "Checking for 'postBuild'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "postBuild" ; then chmod +x postBuild && ./postBuild && rm -rf /tmp/* && rm -rf ${HOME}/.cache ${HOME}/.npm ${HOME}/.yarn && rm -rf ${NB_PYTHON_PREFIX}/share/jupyter/lab/staging && find ${CONDA_DIR} -follow -type f -name '*.a' -delete && find ${CONDA_DIR} -follow -type f -name '*.js.map' -delete ; fi # buildkit
RUN /bin/sh -c echo "Checking for 'start'..." ; [ -d binder ] && cd binder ; [ -d .binder ] && cd .binder ; if test -f "start" ; then chmod +x start && cp start /srv/start ; fi # buildkit
ENV PATH=/srv/conda/envs/notebook/bin:/srv/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/nvidia/bin
ENV LD_LIBRARY_PATH=:/usr/local/nvidia/lib64
USER root
RUN /bin/sh -c apt-get update --yes && apt-get install --yes --no-install-recommends build-essential libproj-dev libgeos-dev libgdal-dev && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
COPY --chown=1000 environment.yml /home/jovyan/environment.yml # buildkit
COPY --chown=1000 requirements.txt /home/jovyan/requirements.txt # buildkit
USER 1000
RUN /bin/sh -c mamba env update -n notebook --file /home/jovyan/environment.yml && mamba clean --all -y -f && rm /home/jovyan/environment.yml # buildkit
RUN /bin/sh -c /srv/conda/envs/notebook/bin/pip install --no-cache-dir -r /home/jovyan/requirements.txt && rm /home/jovyan/requirements.txt # buildkit
RUN /bin/sh -c /srv/conda/envs/notebook/bin/pip install --no-cache-dir torch==2.9.1+cu128 --index-url https://download.pytorch.org/whl/cu128 # buildkit
USER root
RUN /bin/sh -c /srv/conda/envs/notebook/bin/pip install git+https://$(cat /run/secrets/github_token)@github.com/EOPF-DGGS/healpix-analyse.git git+https://$(cat /run/secrets/github_token)@github.com/EOPF-DGGS/legacy-converters.git argo-workflows # buildkit
USER jovyan
USER root
RUN /bin/sh -c /srv/conda/envs/notebook/bin/pip install --force-reinstall "s3fs==2024.10.0" "aiobotocore==2.17.0" "botocore==1.35.93" "boto3==1.35.93" "s3transfer==0.10.4" # buildkit
USER jovyan

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.source https://github.com/pangeo-data/pangeo-docker-images
org.opencontainers.image.version 22.04
Details
Container
2026-04-08 11:59:06 +00:00
1
OCI / Docker
linux/amd64
12 GiB
Versions (1) View all
latest 2026-04-08