Install Git in isolated test image for transport fixtures
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e241-8285-7a63-8c0c-51c9cb824dc3
This commit is contained in:
parent
0ae5e84e7b
commit
4c74f81ca3
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue