2020-11-18 02:04:28 +00:00
|
|
|
FROM python:3.9.0-buster
|
|
|
|
|
2023-03-29 04:23:27 +00:00
|
|
|
# Disable warnings about not having a TTY
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Disable debconf warnings
|
|
|
|
ARG DEBCONF_NOWARNINGS="yes"
|
|
|
|
|
|
|
|
# Upgrade pip
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
|
|
|
|
# Install platformio toolchain / framework and pyyaml
|
|
|
|
RUN pip install -U platformio PyYaml
|
|
|
|
|
|
|
|
# Upgrade platformio using development version / branch
|
2022-05-17 21:47:11 +00:00
|
|
|
RUN pio upgrade --dev
|
2023-03-29 04:23:27 +00:00
|
|
|
|
|
|
|
# Set working directory
|
|
|
|
WORKDIR /code
|
|
|
|
|
|
|
|
# Set volumes / mount points that we are using
|
|
|
|
VOLUME /code /root/.platformio
|
|
|
|
|
2020-11-18 02:04:28 +00:00
|
|
|
#ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH}
|