pkgs/build/Dockerfile.sign
Ivan Cherniy 329edef247 Dockerfiles: pin the base images by digest
The signing containers get the private key, so the base image must not change under the same tag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 16:39:18 +03:00

8 lines
594 B
Text

# Image that builds and signs the apt, rpm and pacman repositories.
# The base image is pinned by digest: the container gets the private key. To update, pull debian:13-slim,
# take the digest from `docker images --digests` and review it before the change.
FROM debian:13-slim@sha256:a72b4433de1cf7d6bae0c4cee74d0547f58601a643b3375f070c51600d63b6b2
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils gnupg gpgv gzip xz-utils zstd ca-certificates jq \
rpm createrepo-c pacman-package-manager makepkg libarchive-tools \
&& rm -rf /var/lib/apt/lists/*