mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐳 Fix arm builds
This commit is contained in:
parent
7868bf2484
commit
c11edb2521
4
.github/workflows/docker-images.yml
vendored
4
.github/workflows/docker-images.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
context: ./docker/images/n8n
|
context: ./docker/images/n8n
|
||||||
build-args: |
|
build-args: |
|
||||||
N8N_VERSION=${{steps.vars.outputs.tag}}
|
N8N_VERSION=${{steps.vars.outputs.tag}}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}
|
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}
|
||||||
|
@ -39,7 +39,7 @@ jobs:
|
||||||
context: ./docker/images/n8n-debian
|
context: ./docker/images/n8n-debian
|
||||||
build-args: |
|
build-args: |
|
||||||
N8N_VERSION=${{ steps.vars.outputs.tag }}
|
N8N_VERSION=${{ steps.vars.outputs.tag }}
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}-debian
|
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}-debian
|
||||||
|
|
|
@ -13,6 +13,7 @@ USER root
|
||||||
# Install n8n and the also temporary all the packages
|
# Install n8n and the also temporary all the packages
|
||||||
# it needs to build it correctly.
|
# it needs to build it correctly.
|
||||||
RUN apk --update add --virtual build-dependencies python3 build-base ca-certificates && \
|
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} && \
|
npm_config_user=root npm install -g full-icu n8n@${N8N_VERSION} && \
|
||||||
apk del build-dependencies \
|
apk del build-dependencies \
|
||||||
&& rm -rf /root /tmp/* /var/cache/apk/* && mkdir /root;
|
&& rm -rf /root /tmp/* /var/cache/apk/* && mkdir /root;
|
||||||
|
|
Loading…
Reference in a new issue