Add unzip
Some checks failed
Build Pipeline for de.captica.n8n / Publish Docker (push) Failing after 2m56s

This commit is contained in:
Marc Boehm
2025-05-20 17:54:05 +02:00
parent 1bd009c117
commit 3c7d50aa3d

View File

@@ -1,4 +1,4 @@
FROM node:22-slim FROM node:22-bookworm-slim
@@ -9,6 +9,7 @@ RUN apt-get update -y && \
graphicsmagick \ graphicsmagick \
tzdata \ tzdata \
curl \ curl \
unzip \
jq \ jq \
sed \ sed \
python3 \ python3 \
@@ -21,6 +22,8 @@ RUN N8N_VERSION=$(curl -s https://api.github.com/repos/n8n-io/n8n/releases/lates
echo "Latest n8n version: ${N8N_VERSION}" && \ echo "Latest n8n version: ${N8N_VERSION}" && \
npm_config_user=root npm install -g \ npm_config_user=root npm install -g \
${N8N_VERSION} && \ ${N8N_VERSION} && \
apt-get remove build-essential && \
apt-get autoremove && \
apt-get clean all apt-get clean all
# Set a custom user to not have n8n run as root # Set a custom user to not have n8n run as root