Block a user
registry-test (latest)
Published 2025-12-18 20:29:38 +01:00 by laurentu
Installation
docker pull git.passke.org/laurentu/registry-test:latestsha256:36ce66ffef84c9b719109360d4e7502c23592a3fac8c9425296a72a6daa7639a
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 4090c85308 | linux/amd64 | 278 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'trixie' '@1765152000' |
| RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-venv curl git just # buildkit |
| ARG GIT_TAG=v2.4.0 |
| ARG CONTAINER_PORT=8000 |
| EXPOSE [8000/tcp] |
| ENV PYTHONDONTWRITEBYTECODE=1 |
| ENV PYTHONUNBUFFERED=1 |
| ENV APP_DIR=/app |
| ENV DATABASE_URL=postgres://user:password@localhost:5432/db |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c set -ex && addgroup --gid 1000 app && adduser --uid 1000 --gid 1000 --home ${APP_DIR} --disabled-password app; # buildkit |
| WORKDIR /app |
| USER app |
| ENV VIRTUAL_ENV=/app/.venv |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c python3 -m venv $APP_DIR/.venv # buildkit |
| ENV PATH=/app/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c pip install uv rust-just # buildkit |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c curl -L https://github.com/numerique-gouv/sites-faciles/archive/refs/tags/${GIT_TAG}.tar.gz | tar -xz -C $APP_DIR --strip-components=1 # buildkit |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c uv sync --locked # buildkit |
| RUN |2 GIT_TAG=v2.4.0 CONTAINER_PORT=8000 /bin/sh -c uv run python manage.py collectstatic --no-input # buildkit |
| VOLUME [/app/medias] |
| ENTRYPOINT ["./entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-12-18T19:27:17.318Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 36195ff82b08e176d01ed0a2ba3d86e938cf250b |
| org.opencontainers.image.source | https://git.passke.org/laurentu/registry-test |
| org.opencontainers.image.title | registry-test |
| org.opencontainers.image.url | https://git.passke.org/laurentu/registry-test |
| org.opencontainers.image.version | v2.4.0 |
Details
2025-12-18 20:29:38 +01:00
Versions (5)
View all
Container
0
OCI / Docker