ci: run validation in pinned container
CI / validate (pull_request) Failing after 8s

This commit is contained in:
Dennis Juhler Aagaard
2026-09-24 19:56:34 +02:00
parent 10728f8b13
commit 65e14f5b8c
4 changed files with 48 additions and 33 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM golang:1.27.1-bookworm@sha256:69a7b9788769bec032d238959b61854e9ae87f57be9029ec04e9885fabf99195
RUN apt-get update \
&& apt-get install --yes --no-install-recommends python3 python3-venv
WORKDIR /workspace
COPY requirements-dev.txt ./
RUN python3 -m venv /opt/venv \
&& /opt/venv/bin/pip install --no-cache-dir --requirement requirements-dev.txt
COPY . ./
RUN git init
ENTRYPOINT ["/opt/venv/bin/pytest"]