Files
Modxo/Dockerfile
rdmrochaandGitHub 18724faf87 Docker builder (#6)
* docker builder in place

* ready for PR
2024-08-23 18:41:07 -06:00

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