From f4daf05d037472bd932a1eaadcf09a254004e876 Mon Sep 17 00:00:00 2001 From: Alex <25013571+alexhb1@users.noreply.github.com> Date: Sat, 9 May 2026 14:37:44 +0100 Subject: [PATCH] Pin Docker base image digests (#969) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 07ef7c6a..59308a71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG BUILDPLATFORM ARG BUILDARCH # Frontend build stage. -FROM --platform=$BUILDPLATFORM node:24-alpine AS frontend-builder +FROM --platform=$BUILDPLATFORM node:24-alpine@sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f AS frontend-builder # Helpful debug output to see what platforms BuildKit thinks it's using RUN echo "BUILDPLATFORM=$BUILDPLATFORM BUILDARCH=$BUILDARCH TARGETPLATFORM=$TARGETPLATFORM TARGETARCH=$TARGETARCH" @@ -25,9 +25,9 @@ COPY src/frontend/ ./ RUN npm run build # Use python-slim as the base image -FROM python:3.14-slim AS base +FROM python:3.14-slim@sha256:1697e8e8d39bf168e177ac6b5fdab6df86d81cfc24dae17dfb96cfc3ef76b4dd AS base -COPY --from=ghcr.io/astral-sh/uv:0.11.3 /uv /uvx /bin/ +COPY --from=ghcr.io/astral-sh/uv:0.11.3@sha256:90bbb3c16635e9627f49eec6539f956d70746c409209041800a0280b93152823 /uv /uvx /bin/ # Add build argument for version ARG BUILD_VERSION