36f749b24a
* fix(github action): use correct format for author & committer git signing * Update image digests Signed-off-by: specklebot <devops@speckle.systems> --------- Signed-off-by: specklebot <devops@speckle.systems> Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com> Co-authored-by: specklebot <devops@speckle.systems>
21 lines
862 B
Docker
21 lines
862 B
Docker
FROM debian:12-slim@sha256:f80c45482c8d147da87613cb6878a7238b8642bcc24fc11bad78c7bec726f340 AS build-stage
|
|
WORKDIR /venv
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install \
|
|
--no-install-suggests --no-install-recommends --yes \
|
|
python3-venv=3.11.2-1+b1 && \
|
|
python3 -m venv /venv
|
|
|
|
COPY utils/test-deployment/requirements.txt /requirements.txt
|
|
RUN /venv/bin/pip install --disable-pip-version-check --requirement /requirements.txt
|
|
|
|
FROM gcr.io/distroless/python3-debian12:nonroot@sha256:27d2d6afcfb109e4c147449d4af957f71cb770196527d0da1d1d92b9680b0daa as production-stage
|
|
ARG SPECKLE_SERVER
|
|
ARG SPECKLE_VERSION
|
|
ENV SPECKLE_SERVER=${SPECKLE_SERVER} \
|
|
SPECKLE_SERVER=${SPECKLE_VERSION}
|
|
COPY --from=build-stage /venv /venv
|
|
COPY utils/test-deployment /app
|
|
WORKDIR /app
|
|
ENTRYPOINT [ "/venv/bin/python3", "-u", "./run_tests.py" ]
|