2024-08-06 03:33:26 +00:00
|
|
|
ARG BASE_IMAGE=quay.io/argoproj/argocd:v2.12.0
|
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
|