mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix(cli): add git to all docker images (#4189)
This commit is contained in:
parent
20b0e14f72
commit
0b6a9585d4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue