diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a35dc39..db3cef9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,10 @@ jobs: run: df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h - name: Checkout uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 - name: Install buildx uses: docker/setup-buildx-action@v3 with: @@ -69,6 +73,7 @@ jobs: - name: Build target base image uses: docker/build-push-action@v6 with: + platforms: linux/amd64,linux/arm64 context: images/base pull: true push: true diff --git a/images/base/Dockerfile b/images/base/Dockerfile index ba8a2c6..59c7b7e 100644 --- a/images/base/Dockerfile +++ b/images/base/Dockerfile @@ -12,7 +12,7 @@ RUN \ gtk-doc-tools gobject-introspection gawk \ ocaml ocamlbuild libnum-ocaml-dev indent p7zip-full \ python3-setuptools python3-jinja2 python3-jsonschema python3-apt python-is-python3 && \ - curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get -y install nodejs && \ apt-get -y clean && \ git config --global user.email "builder@localhost" && \