diff --git a/Dockerfile b/Dockerfile index a0a27ceec..12a5600a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit. # Represents the plataform where the build is happening, do not mix with # TARGETARCH -FROM --platform=${BUILDPLATFORM} docker.io/library/node:18-alpine3.16@sha256:1eabdb1aa3f6e68558c08501572731db560d10c2194a67d3417103b0a9868693 as stage1 +FROM --platform=${BUILDPLATFORM} docker.io/library/node:18-alpine3.18@sha256:a315556d82ef54561e54fca7d8ee333382de183d4e56841dcefcd05b55310f46 as stage1 RUN apk add bash WORKDIR /app @@ -26,5 +26,5 @@ COPY . . ARG NODE_ENV=production RUN npm run build -FROM docker.io/nginxinc/nginx-unprivileged:1.25-alpine@sha256:05696001775e33798fccab756b8a9441671aa961718019d7097fb7c75dae69b6 +FROM docker.io/nginxinc/nginx-unprivileged:1.25-alpine3.18@sha256:05696001775e33798fccab756b8a9441671aa961718019d7097fb7c75dae69b6 COPY --from=stage1 /app/server/public /app diff --git a/backend/Dockerfile b/backend/Dockerfile index f66944c3c..5d2d71c94 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -3,7 +3,7 @@ # Copyright 2021 Authors of Cilium # SPDX-License-Identifier: Apache-2.0 -ARG GOLANG_IMAGE=docker.io/library/golang:1.20-bullseye@sha256:851af0a8ca4eba552c84db5b2edac7f3be15deb5892217961a1d4b175585a603 +ARG GOLANG_IMAGE=docker.io/library/golang:1.20.10-bullseye@sha256:a10abe6014fae120db1f525f6dc35692430af86c56fa76347a7ee0d3456f4cf9 # BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit. # Represents the plataform where the build is happening, do not mix with @@ -27,7 +27,7 @@ COPY ./build-gops.sh . RUN --mount=target=/root/.cache,type=cache --mount=target=/go/pkg/mod,type=cache \ ./build-gops.sh -FROM docker.io/library/alpine:3.17@sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 +FROM docker.io/library/alpine:3.18.4@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 # TARGETOS is an automatic platform ARG enabled by Docker BuildKit. ARG TARGETOS # TARGETARCH is an automatic platform ARG enabled by Docker BuildKit.