Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore(docker): pin npm to 10.9.9 in the backend images too
Vlad Ligaie7ea3f12647c
diff --git a/backend/Dockerfile b/backend/Dockerfileindex f2f8e998c0..64975ff447 100644--- a/backend/Dockerfile+++ b/backend/Dockerfile@@ -3,6 +3,9 @@ ARG INFISICAL_CLI_VERSION=0.43.129FROM node:22.23.2-trixie-slim AS build+# Pinned to match the runtime image; see Dockerfile.standalone-infisical.+RUN npm install -g [email protected]+WORKDIR /app# Required for pkcs11js and TDS driver (SAP ASE dynamic secrets)@@ -48,6 +51,9 @@ RUN ARCH=$(dpkg --print-architecture) && \# Production dependencies (runs in parallel with build)FROM node:22.23.2-trixie-slim AS prod-deps+# Pinned to match the runtime image; see Dockerfile.standalone-infisical.+RUN npm install -g [email protected]+WORKDIR /app# Build tools needed to compile native modules during npm ci@@ -67,6 +73,10 @@ RUN npm ci --omit=dev# Production stageFROM node:22.23.2-trixie-slim++# Pinned to match the runtime image; see Dockerfile.standalone-infisical.+RUN npm install -g [email protected]+WORKDIR /appENV npm_config_cache /home/node/.npmdiff --git a/backend/Dockerfile.dev b/backend/Dockerfile.devindex 4726b6efb1..f6ee6cc2bb 100644--- a/backend/Dockerfile.dev+++ b/backend/Dockerfile.dev@@ -26,6 +26,9 @@ RUN ARCH=$(dpkg --print-architecture) && \FROM node:22.23.2-trixie-slim+# Pinned to match the runtime image; see Dockerfile.standalone-infisical.+RUN npm install -g [email protected]+# ? Setup a test SoftHSM module. In production a real HSM is used.ARG SOFTHSM2_VERSION=2.5.0diff --git a/backend/Dockerfile.fips-toolchain b/backend/Dockerfile.fips-toolchainindex 34cf73e4b1..85393bec18 100644--- a/backend/Dockerfile.fips-toolchain+++ b/backend/Dockerfile.fips-toolchain@@ -48,6 +48,9 @@ RUN ARCH=$(dpkg --print-architecture) && \FROM node:22.23.2-trixie-slim+# Pinned to match the runtime image; see Dockerfile.standalone-infisical.+RUN npm install -g [email protected]+ARG SOFTHSM2_VERSION=2.5.0ARG SOFTHSM2_COMMIT=369df0383d101bc8952692c2a368ac8bc887d1b4