This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user