Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/react-native-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,11 @@ jobs:
echo "available=false" >> $GITHUB_OUTPUT
fi

# Register binfmt handlers so the arm64 runtime stage runs under the host's QEMU
# instead of BuildKit's built-in fallback emulator.
- name: 🐳 Set up QEMU
uses: docker/setup-qemu-action@v3

- name: 🐳 Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### STAGE 1: Build ###
FROM node:22-alpine AS build
# The build output is static web assets, so always build on the native builder platform.
# Emulating this stage under QEMU for arm64 is extremely slow and fails during yarn install.
FROM --platform=$BUILDPLATFORM node:22-alpine AS build

# Install build dependencies
RUN apk add --no-cache python3 make g++
Expand Down
Loading