from ubuntu:20.04 run apt update run DEBIAN_FRONTEND=noninteractive TZ=America/Chicago apt install -y \ git \ wget \ autoconf \ automake \ build-essential \ bzip2 \ ccache \ device-tree-compiler \ dfu-util \ g++ \ gcc \ libtool \ make \ ninja-build \ cmake \ python3-dev \ python3-pip \ python3-setuptools \ xz-utils run useradd -m rudism user rudism workdir /home/rudism run pip3 install --user -U west run echo 'export PATH=~/.local/bin:"$PATH"' >> ~/.bashrc env ZSDK_VERSION=0.12.4 run wget -q "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-toolchain-arm-${ZSDK_VERSION}-x86_64-linux-setup.run" && \ sh "zephyr-toolchain-arm-${ZSDK_VERSION}-x86_64-linux-setup.run" --quiet -- -d ~/.local/zephyr-sdk-${ZSDK_VERSION} && \ rm "zephyr-toolchain-arm-${ZSDK_VERSION}-x86_64-linux-setup.run" copy requirements.txt . run pip3 install --user -r requirements.txt run echo source zmk/zephyr/zephyr-env.sh >> ~/.bashrc entrypoint bash