Skip to content

Commit

Permalink
Update image digests
Browse files Browse the repository at this point in the history
Signed-off-by: specklebot <[email protected]>
  • Loading branch information
SpeckleDevBot committed Aug 30, 2024
1 parent 08d1bff commit 30d592f
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions packages/fileimport-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_ENV=production

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as build-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as build-stage

ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN apt-get update && \
COPY packages/fileimport-service/requirements.txt /speckle-server/
RUN /venv/bin/pip install --disable-pip-version-check --no-cache-dir --requirement /speckle-server/requirements.txt

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as dependency-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as dependency-stage
# installing just the production dependencies
# separate stage to avoid including development dependencies
ARG NODE_ENV
Expand All @@ -65,9 +65,9 @@ COPY packages/fileimport-service/package.json ./packages/fileimport-service/
WORKDIR /speckle-server/packages/fileimport-service
RUN yarn workspaces focus --production

FROM gcr.io/distroless/python3-debian12:nonroot@sha256:14c62b8925d3bb30319de2f346bde203fe18103a68898284a62db9d4aa54c794 as python-image
FROM gcr.io/distroless/python3-debian12:nonroot@sha256:685a95cc36adb532ff6012dc125744eec4ba8170651a1333baffd9c695d9680c as python-image

FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:afdea027580f7afcaf1f316b2b3806690c297cb3ce6ddc5cf6a15804dc1c790f as distributable-stage
FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:5f2e499275f6b458aecf4d224e30a381cedabd0ddca9e0d465538b152c0d30f5 as distributable-stage

ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend-2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as build-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as build-stage
ARG NODE_ENV=production
ARG SPECKLE_SERVER_VERSION=custom

Expand Down Expand Up @@ -40,7 +40,7 @@ ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini

FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:afdea027580f7afcaf1f316b2b3806690c297cb3ce6ddc5cf6a15804dc1c790f as production-stage
FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:5f2e499275f6b458aecf4d224e30a381cedabd0ddca9e0d465538b152c0d30f5 as production-stage
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARG NODE_ENV=production
ARG SPECKLE_SERVER_VERSION=custom
# build stage
FROM node:18-bullseye-slim@sha256:8cc7dcd5aa06715247f8f2f258332f188d4221e2685b1a0159e4e6c3382e4918 as build-stage
FROM node:18-bullseye-slim@sha256:f32d74a92ce8b17a1ea7b8eb2942ba42123ed678c5986e71205e9ded08caf661 as build-stage
ARG NODE_ENV
ARG SPECKLE_SERVER_VERSION

Expand Down
4 changes: 2 additions & 2 deletions packages/preview-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NOTE: Docker context should be set to git root directory, to include the viewer
ARG NODE_ENV=production

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as build-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as build-stage

ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}
Expand Down Expand Up @@ -36,7 +36,7 @@ COPY packages/preview-service ./packages/preview-service/
# This way the foreach only builds the frontend and its deps
RUN yarn workspaces foreach -W run build

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as node
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as node

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3008,DL3015
Expand Down
6 changes: 3 additions & 3 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG NODE_ENV=production
ARG SPECKLE_SERVER_VERSION=custom

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as build-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as build-stage
ARG NODE_ENV
ARG SPECKLE_SERVER_VERSION
WORKDIR /speckle-server
Expand Down Expand Up @@ -39,7 +39,7 @@ RUN yarn workspaces foreach -W run build

# install only production dependencies
# we need a clean environment, free of build dependencies
FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as dependency-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as dependency-stage
ARG NODE_ENV
ARG SPECKLE_SERVER_VERSION

Expand All @@ -56,7 +56,7 @@ COPY packages/objectloader/package.json ./packages/objectloader/
WORKDIR /speckle-server/packages/server
RUN yarn workspaces focus --production

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as production-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as production-stage
ARG NODE_ENV
ARG SPECKLE_SERVER_VERSION
ARG FILE_SIZE_LIMIT_MB=100
Expand Down
6 changes: 3 additions & 3 deletions packages/webhook-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_ENV=production

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as build-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as build-stage

ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}
Expand Down Expand Up @@ -32,7 +32,7 @@ ENV TINI_VERSION=${TINI_VERSION}
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini ./tini
RUN chmod +x ./tini

FROM node:18-bookworm-slim@sha256:408f8cbbb7b33a5bb94bdb8862795a94d2b64c2d516856824fd86c4a5594a443 as dependency-stage
FROM node:18-bookworm-slim@sha256:c5f2d938333681aa4b530cf6f8d19c10e8b875f3d3faa03869adae2abddc4a49 as dependency-stage
# yarn install
ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}
Expand All @@ -50,7 +50,7 @@ COPY packages/shared/package.json ./packages/shared/
WORKDIR /speckle-server/packages/webhook-service
RUN yarn workspaces focus --production

FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:afdea027580f7afcaf1f316b2b3806690c297cb3ce6ddc5cf6a15804dc1c790f as production-stage
FROM gcr.io/distroless/nodejs18-debian12:nonroot@sha256:5f2e499275f6b458aecf4d224e30a381cedabd0ddca9e0d465538b152c0d30f5 as production-stage
ARG NODE_ENV
ENV NODE_ENV=${NODE_ENV}

Expand Down
4 changes: 2 additions & 2 deletions utils/monitor-deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:12-slim@sha256:67f3931ad8cb1967beec602d8c0506af1e37e8d73c2a0b38b181ec5d8560d395 AS build-stage
FROM debian:12-slim@sha256:2ccc7e39b0a6f504d252f807da1fc4b5bcd838e83e4dec3e2f57b2a4a64e7214 AS build-stage

WORKDIR /build

Expand All @@ -19,7 +19,7 @@ RUN apt-get update && \
COPY utils/monitor-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:14c62b8925d3bb30319de2f346bde203fe18103a68898284a62db9d4aa54c794 as production-stage
FROM gcr.io/distroless/python3-debian12:nonroot@sha256:685a95cc36adb532ff6012dc125744eec4ba8170651a1333baffd9c695d9680c as production-stage
ARG PG_CONNECTION_STRING
ARG NODE_EXTRA_CA_CERTS
ENV PG_CONNECTION_STRING=${PG_CONNECTION_STRING} \
Expand Down
4 changes: 2 additions & 2 deletions utils/test-deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:12-slim@sha256:67f3931ad8cb1967beec602d8c0506af1e37e8d73c2a0b38b181ec5d8560d395 AS build-stage
FROM debian:12-slim@sha256:2ccc7e39b0a6f504d252f807da1fc4b5bcd838e83e4dec3e2f57b2a4a64e7214 AS build-stage
WORKDIR /venv
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install \
Expand All @@ -9,7 +9,7 @@ RUN apt-get update && \
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:14c62b8925d3bb30319de2f346bde203fe18103a68898284a62db9d4aa54c794 as production-stage
FROM gcr.io/distroless/python3-debian12:nonroot@sha256:685a95cc36adb532ff6012dc125744eec4ba8170651a1333baffd9c695d9680c as production-stage
ARG SPECKLE_SERVER
ARG SPECKLE_VERSION
ENV SPECKLE_SERVER=${SPECKLE_SERVER} \
Expand Down

0 comments on commit 30d592f

Please sign in to comment.