Skip to content

Instantly share code, notes, and snippets.

Created June 2, 2022 20:16
What would you like to do?

Building raylib app in docker (on another computer) for ArkOS RG351V

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 eoan main universe
deb eoan-updates main universe
deb eoan-security main universe

apt update
apt install -y gnupg

echo "deb bionic main" >> /etc/apt/sources.list
apt-key adv --keyserver --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
cd raylib/src/
cd ../examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment