mirror of
https://github.com/Team-Resurgent/Modxo.git
synced 2026-08-15 11:18:18 -07:00
22 lines
511 B
Docker
22 lines
511 B
Docker
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
|