mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 21:36:21 +00:00
25 lines
557 B
Docker
25 lines
557 B
Docker
FROM python:3.9.0-buster
|
|
|
|
# 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
|
|
RUN pio upgrade --dev
|
|
|
|
# Set working directory
|
|
WORKDIR /code
|
|
|
|
# Set volumes / mount points that we are using
|
|
VOLUME /code /root/.platformio
|
|
|
|
#ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH}
|