FROM alpine:latest # Install toolchain RUN apk update && \ apk upgrade && \ apk add git \ python3 \ py3-pip \ cmake \ build-base \ gcc-arm-none-eabi \ g++-arm-none-eabi \ ninja # Raspberry Pi Pico SDK ARG SDK_PATH=/root/.pico-sdk/sdk/1.5.1 RUN git clone --depth 1 --branch 1.5.1 https://github.com/raspberrypi/pico-sdk $SDK_PATH && \ cd $SDK_PATH && \ git submodule update --init ENV PICO_SDK_PATH=$SDK_PATH