fix(cli): add git to all docker images (#4189)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2022-09-26 12:43:36 +02:00 committed by GitHub
parent 20b0e14f72
commit 0b6a9585d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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