mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-29 15:14:40 +03: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
|
COPY .npmrc /usr/local/etc/npmrc
|
||||||
|
|
||||||
RUN \
|
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 && \
|
npm install -g npm@latest full-icu && \
|
||||||
rm -rf /var/cache/apk/* /root/.npm /tmp/* && \
|
rm -rf /var/cache/apk/* /root/.npm /tmp/* && \
|
||||||
# Install fonts
|
# Install fonts
|
||||||
|
@ -3,9 +3,7 @@ ARG NODE_VERSION=16
|
|||||||
# 1. Create an image to build n8n
|
# 1. Create an image to build n8n
|
||||||
FROM n8nio/base:${NODE_VERSION} as builder
|
FROM n8nio/base:${NODE_VERSION} as builder
|
||||||
|
|
||||||
RUN \
|
RUN npm install -g run-script-os turbo
|
||||||
apk --no-cache add git && \
|
|
||||||
npm install -g run-script-os turbo
|
|
||||||
|
|
||||||
COPY turbo.json package.json package-lock.json tsconfig.json ./
|
COPY turbo.json package.json package-lock.json tsconfig.json ./
|
||||||
COPY packages ./packages
|
COPY packages ./packages
|
||||||
|
Loading…
Reference in New Issue
Block a user