🐳 Fix arm builds

This commit is contained in:
Jan Oberhauser
2022-03-08 09:38:53 +01:00
parent 7868bf2484
commit c11edb2521
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ USER root
# Install n8n and the also temporary all the packages
# it needs to build it correctly.
RUN apk --update add --virtual build-dependencies python3 build-base ca-certificates && \
npm config set python "$(which python3)" && \
npm_config_user=root npm install -g full-icu n8n@${N8N_VERSION} && \
apk del build-dependencies \
&& rm -rf /root /tmp/* /var/cache/apk/* && mkdir /root;