From 9331d9e7d09c348f1320189e6b4836bf1eab3d1a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 5 Apr 2024 00:59:32 +0000 Subject: [PATCH] fix: docker/images/n8n-custom/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE311-APKTOOLS-1534687 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1075738 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-ZLIB-2977081 --- docker/images/n8n-custom/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/images/n8n-custom/Dockerfile b/docker/images/n8n-custom/Dockerfile index 05d08a7db5fc6..c99a347ae8361 100644 --- a/docker/images/n8n-custom/Dockerfile +++ b/docker/images/n8n-custom/Dockerfile @@ -1,5 +1,5 @@ # 1. Create an image to build n8n -FROM node:14.15-alpine as builder +FROM node:14.21.0-alpine as builder # Update everything and install needed dependencies USER root @@ -25,7 +25,7 @@ RUN npm run build # 2. Start with a new clean image with just the code that is needed to run n8n -FROM node:14.15-alpine +FROM node:14.21.0-alpine USER root