Install Git in isolated test image for transport fixtures
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 4s
Build and Publish Container Image / build-and-push (push) Successful in 54s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a0e241-8285-7a63-8c0c-51c9cb824dc3
This commit is contained in:
tegwick 2026-09-27 17:05:49 +02:00
parent 0ae5e84e7b
commit 4c74f81ca3

View file

@ -8,6 +8,8 @@ RUN uv sync --no-dev --frozen
# Isolated CI checks; development dependencies do not enter the runtime image. # Isolated CI checks; development dependencies do not enter the runtime image.
FROM builder AS test FROM builder AS test
# Real-Git transport fixtures require Git only in the isolated test image.
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
COPY tests/ ./tests/ COPY tests/ ./tests/
COPY Dockerfile ./Dockerfile COPY Dockerfile ./Dockerfile
COPY .forgejo/workflows/image.yaml ./.forgejo/workflows/image.yaml COPY .forgejo/workflows/image.yaml ./.forgejo/workflows/image.yaml