Also build arm64 base image

This commit is contained in:
BtbN 2025-02-16 00:57:22 +01:00
parent c7fa219319
commit 96c5b45d90
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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" && \