diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 72ed81ed..fe15f247 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/library/node:20.7.0-alpine@sha256:a348d50e74df20fa8c572c3abf80b89ae4daf9c312523c49a42997284d13ebac AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:22.5.0-alpine@sha256:f200d5ce9f0c43df6f3a6b97b692f998cce270f1409864de5fbb2e61836121f2 AS builder # Build arguments to change source url, branch or tag ARG CODIMD_REPOSITORY @@ -27,7 +27,7 @@ WORKDIR /hedgedoc RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn install --immutable RUN yarn run build -FROM docker.io/library/node:20.7.0-alpine@sha256:a348d50e74df20fa8c572c3abf80b89ae4daf9c312523c49a42997284d13ebac AS modules-installer +FROM docker.io/library/node:22.5.0-alpine@sha256:f200d5ce9f0c43df6f3a6b97b692f998cce270f1409864de5fbb2e61836121f2 AS modules-installer WORKDIR /hedgedoc ENV NODE_ENV=production @@ -41,7 +41,7 @@ RUN --mount=target=/var/cache/apk,type=cache,sharing=locked \ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn workspaces focus --production -FROM docker.io/library/node:20.7.0-alpine@sha256:a348d50e74df20fa8c572c3abf80b89ae4daf9c312523c49a42997284d13ebac AS app +FROM docker.io/library/node:22.5.0-alpine@sha256:f200d5ce9f0c43df6f3a6b97b692f998cce270f1409864de5fbb2e61836121f2 AS app LABEL org.opencontainers.image.title='HedgeDoc production image(alpine)' LABEL org.opencontainers.image.url='https://hedgedoc.org' diff --git a/debian/Dockerfile b/debian/Dockerfile index 5b724e99..be7010aa 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/library/node:20.7.0-bullseye-slim@sha256:86ed0f70880231adc0fb66c2edbba5de350d8587999e2fe4e1f59c11a4cbb3b4 AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:22.5.0-bullseye-slim@sha256:0ce8d2917108da31ffb7a515fe8393b3ebb773f49c17e32dd0b548689f86dec8 AS builder # Build arguments to change source url, branch or tag ARG CODIMD_REPOSITORY @@ -29,7 +29,7 @@ WORKDIR /hedgedoc RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn install --immutable RUN yarn run build -FROM docker.io/library/node:20.7.0-bullseye-slim@sha256:86ed0f70880231adc0fb66c2edbba5de350d8587999e2fe4e1f59c11a4cbb3b4 AS modules-installer +FROM docker.io/library/node:22.5.0-bullseye-slim@sha256:0ce8d2917108da31ffb7a515fe8393b3ebb773f49c17e32dd0b548689f86dec8 AS modules-installer WORKDIR /hedgedoc ENV NODE_ENV=production @@ -44,7 +44,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn workspaces focus --production -FROM docker.io/library/node:20.7.0-bullseye-slim@sha256:86ed0f70880231adc0fb66c2edbba5de350d8587999e2fe4e1f59c11a4cbb3b4 AS app +FROM docker.io/library/node:22.5.0-bullseye-slim@sha256:0ce8d2917108da31ffb7a515fe8393b3ebb773f49c17e32dd0b548689f86dec8 AS app LABEL org.opencontainers.image.title='HedgeDoc production image(debian)' LABEL org.opencontainers.image.url='https://hedgedoc.org'