images/argocd/Dockerfile

18 lines
568 B
Text
Raw Normal View History

ARG BASE_IMAGE=quay.io/argoproj/argocd:v2.11.1
2024-04-26 06:41:21 +00:00
FROM ${BASE_IMAGE}
USER root
2024-05-18 17:13:41 +00:00
ADD --chmod=644 https://code.icb4dc0.de/api/packages/prskr/debian/repository.key /etc/apt/trusted.gpg.d/forgejo-prskr.asc
2024-04-26 07:18:32 +00:00
COPY gitconfig /etc/gitconfig
2024-04-26 06:41:21 +00:00
2024-05-18 17:13:41 +00:00
RUN --mount=type=cache,target=/var/lib/apt \
--mount=type=cache,target=/var/lib/cache \
--mount=type=cache,target=/var/cache/apt \
2024-04-26 06:41:21 +00:00
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
2024-04-26 07:04:37 +00:00
USER 999