Skip to content

Commit

Permalink
chore(deps): update node.js to v22
Browse files Browse the repository at this point in the history
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Sep 27, 2024
1 parent e455803 commit 12e1859
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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:22.9.0-alpine@sha256:c9bb43423a6229aeddf3d16ae6aaa0ff71a0b2951ce18ec8fedb6f5d766cf286 AS builder

# Build arguments to change source url, branch or tag
ARG CODIMD_REPOSITORY
Expand Down Expand Up @@ -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:22.9.0-alpine@sha256:c9bb43423a6229aeddf3d16ae6aaa0ff71a0b2951ce18ec8fedb6f5d766cf286 AS modules-installer
WORKDIR /hedgedoc

ENV NODE_ENV=production
Expand All @@ -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:22.9.0-alpine@sha256:c9bb43423a6229aeddf3d16ae6aaa0ff71a0b2951ce18ec8fedb6f5d766cf286 AS app

LABEL org.opencontainers.image.title='HedgeDoc production image(alpine)'
LABEL org.opencontainers.image.url='https://hedgedoc.org'
Expand Down
6 changes: 3 additions & 3 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -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:22.9.0-bullseye-slim@sha256:8fa704586f7fa37f2819a778f26e31956e40128d71ec78b56be842e1b26aaaff AS builder

# Build arguments to change source url, branch or tag
ARG CODIMD_REPOSITORY
Expand Down Expand Up @@ -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:22.9.0-bullseye-slim@sha256:8fa704586f7fa37f2819a778f26e31956e40128d71ec78b56be842e1b26aaaff AS modules-installer
WORKDIR /hedgedoc

ENV NODE_ENV=production
Expand All @@ -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:22.9.0-bullseye-slim@sha256:8fa704586f7fa37f2819a778f26e31956e40128d71ec78b56be842e1b26aaaff AS app

LABEL org.opencontainers.image.title='HedgeDoc production image(debian)'
LABEL org.opencontainers.image.url='https://hedgedoc.org'
Expand Down

0 comments on commit 12e1859

Please sign in to comment.