Dockerfile 557 B

123456789101112131415161718192021222324
  1. FROM python:3.9.0-buster
  2. # Disable warnings about not having a TTY
  3. ARG DEBIAN_FRONTEND=noninteractive
  4. # Disable debconf warnings
  5. ARG DEBCONF_NOWARNINGS="yes"
  6. # Upgrade pip
  7. RUN pip install --upgrade pip
  8. # Install platformio toolchain / framework and pyyaml
  9. RUN pip install -U platformio PyYaml
  10. # Upgrade platformio using development version / branch
  11. RUN pio upgrade --dev
  12. # Set working directory
  13. WORKDIR /code
  14. # Set volumes / mount points that we are using
  15. VOLUME /code /root/.platformio
  16. #ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH}