diff --git a/alpine/Dockerfile b/alpine/Dockerfile index cb977526..61f9270e 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/library/node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:23.1.0-alpine@sha256:2834ff394a84d636118157e55e4fce8afff9260380357901f758d335df1f0b90 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.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS modules-installer +FROM docker.io/library/node:23.1.0-alpine@sha256:2834ff394a84d636118157e55e4fce8afff9260380357901f758d335df1f0b90 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.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS app +FROM docker.io/library/node:23.1.0-alpine@sha256:2834ff394a84d636118157e55e4fce8afff9260380357901f758d335df1f0b90 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 3ebb395e..5423b55a 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM docker.io/library/node:20.17.0-bullseye-slim@sha256:1ae8f0e420a098d667fc023e0e68c5409e215bb805e2cf2fd52e17eac0924fb0 AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:23.1.0-bullseye-slim@sha256:ce5243fa44aef044a82051b1f3f307232367056e959b6af29d6b9f8c0a05b45e 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.17.0-bullseye-slim@sha256:1ae8f0e420a098d667fc023e0e68c5409e215bb805e2cf2fd52e17eac0924fb0 AS modules-installer +FROM docker.io/library/node:23.1.0-bullseye-slim@sha256:ce5243fa44aef044a82051b1f3f307232367056e959b6af29d6b9f8c0a05b45e 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.17.0-bullseye-slim@sha256:1ae8f0e420a098d667fc023e0e68c5409e215bb805e2cf2fd52e17eac0924fb0 AS app +FROM docker.io/library/node:23.1.0-bullseye-slim@sha256:ce5243fa44aef044a82051b1f3f307232367056e959b6af29d6b9f8c0a05b45e AS app LABEL org.opencontainers.image.title='HedgeDoc production image(debian)' LABEL org.opencontainers.image.url='https://hedgedoc.org'