ARG BASE_IMAGE=quay.io/argoproj/argocd:v2.13.1 FROM ${BASE_IMAGE} USER root ADD --chmod=644 https://code.icb4dc0.de/api/packages/prskr/debian/repository.key /etc/apt/trusted.gpg.d/forgejo-prskr.asc COPY gitconfig /etc/gitconfig RUN --mount=type=cache,target=/var/lib/apt \ --mount=type=cache,target=/var/lib/cache \ --mount=type=cache,target=/var/cache/apt \ echo "deb https://code.icb4dc0.de/api/packages/prskr/debian bookworm main" > /etc/apt/sources.list.d/forgejo.list && \ apt-get update && \ apt-get install -y \ git-age USER 999