mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	chore(deps): update node.js to v22.21.0 (#7503)
This commit is contained in:
		
						commit
						38a3f46506
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM node:22.20.0-bullseye-slim AS builder
 | 
					FROM node:22.21.0-bullseye-slim AS builder
 | 
				
			||||||
RUN corepack enable
 | 
					RUN corepack enable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install native dependencies since we might be building cross-platform.
 | 
					# 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
 | 
					# We have to use --no-frozen-lockfile due to CKEditor patches
 | 
				
			||||||
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
					RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:22.20.0-bullseye-slim
 | 
					FROM node:22.21.0-bullseye-slim
 | 
				
			||||||
# Install only runtime dependencies
 | 
					# Install only runtime dependencies
 | 
				
			||||||
RUN apt-get update && \
 | 
					RUN apt-get update && \
 | 
				
			||||||
    apt-get install -y --no-install-recommends \
 | 
					    apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM node:22.20.0-alpine AS builder
 | 
					FROM node:22.21.0-alpine AS builder
 | 
				
			||||||
RUN corepack enable
 | 
					RUN corepack enable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install native dependencies since we might be building cross-platform.
 | 
					# 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
 | 
					# We have to use --no-frozen-lockfile due to CKEditor patches
 | 
				
			||||||
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
					RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:22.20.0-alpine
 | 
					FROM node:22.21.0-alpine
 | 
				
			||||||
# Install runtime dependencies
 | 
					# Install runtime dependencies
 | 
				
			||||||
RUN apk add --no-cache su-exec shadow
 | 
					RUN apk add --no-cache su-exec shadow
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM node:22.20.0-alpine AS builder
 | 
					FROM node:22.21.0-alpine AS builder
 | 
				
			||||||
RUN corepack enable
 | 
					RUN corepack enable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install native dependencies since we might be building cross-platform.
 | 
					# 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
 | 
					# We have to use --no-frozen-lockfile due to CKEditor patches
 | 
				
			||||||
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
					RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:22.20.0-alpine
 | 
					FROM node:22.21.0-alpine
 | 
				
			||||||
# Create a non-root user with configurable UID/GID
 | 
					# Create a non-root user with configurable UID/GID
 | 
				
			||||||
ARG USER=trilium
 | 
					ARG USER=trilium
 | 
				
			||||||
ARG UID=1001
 | 
					ARG UID=1001
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM node:22.20.0-bullseye-slim AS builder
 | 
					FROM node:22.21.0-bullseye-slim AS builder
 | 
				
			||||||
RUN corepack enable
 | 
					RUN corepack enable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install native dependencies since we might be building cross-platform.
 | 
					# 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
 | 
					# We have to use --no-frozen-lockfile due to CKEditor patches
 | 
				
			||||||
RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
					RUN pnpm install --no-frozen-lockfile --prod && pnpm rebuild
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:22.20.0-bullseye-slim
 | 
					FROM node:22.21.0-bullseye-slim
 | 
				
			||||||
# Create a non-root user with configurable UID/GID
 | 
					# Create a non-root user with configurable UID/GID
 | 
				
			||||||
ARG USER=trilium
 | 
					ARG USER=trilium
 | 
				
			||||||
ARG UID=1001
 | 
					ARG UID=1001
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user