build: add one-shot ARM64 image build/export script
scripts/build-arm64-image.sh automates the full linux/arm64 image build on Docker Desktop (WSL2): register qemu-aarch64 binfmt with the F flag so emulation works inside build containers, pre-pull the dotnet base images with resumable retries, build with dotnet restore routed through the host proxy and apt via the in-Dockerfile mirror, then docker save + gzip into a loadable archive. .gitignore now excludes the *.tar/*.tar.gz build artifacts, the qemu-*-static emulator binary, and the stray root package-lock.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -32,3 +32,10 @@ src/LiveRecorder.WebApi/live-recorder.db*
|
||||
# Frontend source/config TypeScript files must stay trackable.
|
||||
!frontend/**/*.ts
|
||||
!frontend/**/*.tsx
|
||||
|
||||
# Docker image build artifacts and the ARM64 QEMU emulator binary.
|
||||
*.tar
|
||||
*.tar.gz
|
||||
qemu-*-static
|
||||
# Stray root lockfile created by running npm in the repo root (frontend has its own).
|
||||
/package-lock.json
|
||||
|
||||
Reference in New Issue
Block a user