2022-10-09 15:11:05 +00:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
|
|
|
RUN apt update && apt -y upgrade && apt install -y git python3 cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential gcc g++ libstdc++-arm-none-eabi-newlib
|
|
|
|
RUN useradd -m -G sudo builder
|
|
|
|
|
|
|
|
USER builder
|
|
|
|
WORKDIR /home/builder
|
2022-10-15 20:51:12 +00:00
|
|
|
# RUN git clone -b master https://github.com/raspberrypi/pico-sdk.git && cd pico-sdk && git submodule update --init
|
2022-10-09 15:11:05 +00:00
|
|
|
# RUN git clone -b master https://github.com/raspberrypi/pico-examples.git
|
|
|
|
# RUN git clone -b master https://github.com/raspberrypi/pico-extras.git
|
|
|
|
# RUN git clone -b master https://github.com/raspberrypi/pico-playground.git
|
|
|
|
|
2022-10-15 20:51:12 +00:00
|
|
|
ENV PICO_SDK_PATH=/home/builder/workspace/pico-sdk
|
2022-10-09 15:11:05 +00:00
|
|
|
|