I am using a mac M1 (arm64), so I didn't need binfmt-support/qemu-user-static installed.
docker run --platform="linux/arm64/v8" -it --rm -v $(pwd):/workdir -w /workdir ubuntu:eoan bash
cat << EOF > /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu eoan main universe
deb http://old-releases.ubuntu.com/ubuntu eoan-updates main universe
deb http://old-releases.ubuntu.com/ubuntu eoan-security main universe
EOF
apt update
apt install -y gnupg
echo "deb http://deb.odroid.in/go2 bionic main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5360FB9DAB19BAC9
apt update
apt upgrade -y
apt -y install git nano build-essential cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libgles2-mesa-dev libgbm-dev
git clone https://github.com/raysan5/raylib.git
cd raylib/src/
make PLATFORM=PLATFORM_DRM
cd ../examples
make PLATFORM=PLATFORM_DRM