Uses ubuntu:22.04 arm64 image running under QEMU emulation to produce aarch64 binaries that match the target device exactly (same glibc, same distro). Replaces the broken Buildroot cross-compilation approach. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
312 B
Docker
9 lines
312 B
Docker
FROM ubuntu:22.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential pkg-config \
|
|
libsdl2-dev libsdl2-image-dev \
|
|
libavformat-dev libavcodec-dev libavutil-dev libswresample-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /workspace
|