From 0b6a9585d41992f5dcc1a5683adc3f36e43955af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Mon, 26 Sep 2022 12:43:36 +0200 Subject: [PATCH] fix(cli): add git to all docker images (#4189) --- docker/images/n8n-base/Dockerfile | 2 +- docker/images/n8n-custom/Dockerfile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/images/n8n-base/Dockerfile b/docker/images/n8n-base/Dockerfile index 5f2de6c3c2..78445a3afc 100644 --- a/docker/images/n8n-base/Dockerfile +++ b/docker/images/n8n-base/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /home/node COPY .npmrc /usr/local/etc/npmrc RUN \ - apk add --update graphicsmagick tini tzdata ca-certificates && \ + apk add --update git graphicsmagick tini tzdata ca-certificates && \ npm install -g npm@latest full-icu && \ rm -rf /var/cache/apk/* /root/.npm /tmp/* && \ # Install fonts diff --git a/docker/images/n8n-custom/Dockerfile b/docker/images/n8n-custom/Dockerfile index f2ce8de0c0..e9d30136ea 100644 --- a/docker/images/n8n-custom/Dockerfile +++ b/docker/images/n8n-custom/Dockerfile @@ -3,9 +3,7 @@ ARG NODE_VERSION=16 # 1. Create an image to build n8n FROM n8nio/base:${NODE_VERSION} as builder -RUN \ - apk --no-cache add git && \ - npm install -g run-script-os turbo +RUN npm install -g run-script-os turbo COPY turbo.json package.json package-lock.json tsconfig.json ./ COPY packages ./packages