chore(deps): update node.js to v22.17.1 (#6374)

This commit is contained in:
Elian Doran 2025-07-18 11:30:51 +03:00 committed by GitHub
commit 9a668e8709
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
FROM node:22.17.0-bullseye-slim AS builder
FROM node:22.17.1-bullseye-slim AS builder
RUN corepack enable
# Install native dependencies since we might be building cross-platform.
@ -7,7 +7,7 @@ COPY ./docker/package.json ./docker/pnpm-workspace.yaml /usr/src/app/
# We have to use --no-frozen-lockfile due to CKEditor patches
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
FROM node:22.17.0-bullseye-slim
FROM node:22.17.1-bullseye-slim
# Install only runtime dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \

View file

@ -1,4 +1,4 @@
FROM node:22.17.0-alpine AS builder
FROM node:22.17.1-alpine AS builder
RUN corepack enable
# Install native dependencies since we might be building cross-platform.
@ -7,7 +7,7 @@ COPY ./docker/package.json ./docker/pnpm-workspace.yaml /usr/src/app/
# We have to use --no-frozen-lockfile due to CKEditor patches
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
FROM node:22.17.0-alpine
FROM node:22.17.1-alpine
# Install runtime dependencies
RUN apk add --no-cache su-exec shadow

View file

@ -1,4 +1,4 @@
FROM node:22.17.0-alpine AS builder
FROM node:22.17.1-alpine AS builder
RUN corepack enable
# Install native dependencies since we might be building cross-platform.
@ -7,7 +7,7 @@ COPY ./docker/package.json ./docker/pnpm-workspace.yaml /usr/src/app/
# We have to use --no-frozen-lockfile due to CKEditor patches
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
FROM node:22.17.0-alpine
FROM node:22.17.1-alpine
# Create a non-root user with configurable UID/GID
ARG USER=trilium
ARG UID=1001

View file

@ -1,4 +1,4 @@
FROM node:22.17.0-bullseye-slim AS builder
FROM node:22.17.1-bullseye-slim AS builder
RUN corepack enable
# Install native dependencies since we might be building cross-platform.
@ -7,7 +7,7 @@ COPY ./docker/package.json ./docker/pnpm-workspace.yaml /usr/src/app/
# We have to use --no-frozen-lockfile due to CKEditor patches
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
FROM node:22.17.0-bullseye-slim
FROM node:22.17.1-bullseye-slim
# Create a non-root user with configurable UID/GID
ARG USER=trilium
ARG UID=1001