mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(cli): add git to all docker images (#4189)
This commit is contained in:
committed by
GitHub
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
|
||||||
|
|||||||
Reference in New Issue
Block a user