revela-worker (0.4.1)

Published 2026-09-23 12:33:33 +02:00 by thymon

Installation

docker pull gitea.thymon.fr/thymon/revela-worker:0.4.1
sha256:ce8a5a92cd4cb3000e4c08bbad8407b367d968ccd1400ecb411ebccafc410997

Images

Digest OS / Arch Size
a26da9277d linux/amd64 4.3 GiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:cb9335ce6f27399c2b17787739d6675502767c53e0335ded2a5f0d003d996650 in /
CMD ["/bin/bash"]
ARG PYTORCH_VERSION=2.14.0
ARG TRITON_VERSION=
ARG TARGETPLATFORM=linux/amd64
ARG CUDA_VERSION=12.6.3
LABEL com.nvidia.volumes.needed=nvidia_driver
RUN |4 PYTORCH_VERSION=2.14.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.6.3 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libjpeg-dev libpng-dev python-is-python3 python3 python3-dev python3-pip && rm -rf /var/lib/apt/lists/* # buildkit
COPY /usr/local/lib/python3.12 /usr/local/lib/python3.12 # buildkit
COPY /usr/local/bin /usr/local/bin # buildkit
RUN |4 PYTORCH_VERSION=2.14.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.6.3 /bin/sh -c if test -n "${CUDA_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc && rm -rf /var/lib/apt/lists/*; fi # buildkit
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTORCH_VERSION=2.14.0
WORKDIR /workspace
ARG APP_VERSION=0.0.0-dev
ENV APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100
LABEL org.opencontainers.image.title=revela-worker org.opencontainers.image.source=https://gitea.thymon.fr/thymon/revela org.opencontainers.image.version=2858ca1d179da19fcb847ac8de048de948f49100 net.unraid.docker.managed=composeman
COPY /uv /usr/local/bin/uv # buildkit
ENV UV_PROJECT_ENVIRONMENT=/usr UV_PYTHON_DOWNLOADS=never UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 NVIDIA_DRIVER_CAPABILITIES=compute,utility PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True XDG_CACHE_HOME=/cache HOME=/cache
RUN |1 APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100 /bin/sh -c apt-get update && apt-get upgrade -y --no-install-recommends && apt-get install -y --no-install-recommends libgl1 libglib2.0-0t64 libxcb1 && apt-get clean && find /var/lib/apt/lists -mindepth 1 -delete # buildkit
WORKDIR /build
COPY pyproject.toml uv.lock ./ # buildkit
COPY libs/revela_core/pyproject.toml libs/revela_core/pyproject.toml # buildkit
COPY apps/api/pyproject.toml apps/api/pyproject.toml # buildkit
COPY apps/worker/pyproject.toml apps/worker/pyproject.toml # buildkit
COPY libs/revela_core/revela_core libs/revela_core/revela_core # buildkit
COPY apps/worker/revela_worker apps/worker/revela_worker # buildkit
RUN |1 APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100 /bin/sh -c uv sync --frozen --no-dev --package revela-worker --inexact --no-install-package torch --no-install-package torchvision --no-editable --reinstall-package revela-worker --reinstall-package revela-core # buildkit
RUN |1 APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100 /bin/sh -c python -c "import torch; assert torch.version.cuda == '12.6', f'torch.version.cuda={torch.version.cuda!r} (attendu 12.6)'" # buildkit
RUN |1 APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100 /bin/sh -c find /usr/local/bin -maxdepth 1 \( -name uv -o -name pip -o -name pip3 -o -name pip3.12 \) -delete && find /usr/local/lib/python3.12/dist-packages -maxdepth 1 \( -name pip -o -name 'pip-*.dist-info' \) -exec sh -c 'find "$0" -depth -delete' {} \; # buildkit
RUN |1 APP_VERSION=2858ca1d179da19fcb847ac8de048de948f49100 /bin/sh -c mkdir -p /cache /run/revela && chmod 0770 /cache /run/revela # buildkit
COPY --chmod=0755 apps/worker/healthcheck.sh /usr/local/bin/revela-healthcheck # buildkit
HEALTHCHECK &{["CMD" "revela-healthcheck"] "30s" "5s" "1m0s" "0s" '\x03'}
CMD ["celery" "-A" "revela_worker.celery_app:celery" "worker" "-Q" "gpu" "-P" "solo" "-c" "1" "--without-gossip" "--without-mingle" "--without-heartbeat"]

Labels

Key Value
com.nvidia.volumes.needed nvidia_driver
net.unraid.docker.managed composeman
org.opencontainers.image.created 2026-09-23T10:28:15.684Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 2858ca1d179da19fcb847ac8de048de948f49100
org.opencontainers.image.source http://192.168.10.195:3000/thymon/revela
org.opencontainers.image.title revela
org.opencontainers.image.url http://192.168.10.195:3000/thymon/revela
org.opencontainers.image.version 0.4.1
Details
Container
2026-09-23 12:33:33 +02:00
2
OCI / Docker
Versions (28) View all
sha-a19fab0 2026-10-26
latest 2026-10-26
0.6.2 2026-10-26
buildcache 2026-10-26
sha-b2291f9 2026-09-25