FROM python:3.8 RUN apt-get update && \ apt-get install -y curl git && \ curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py && \ python get-platformio.py && \ rm get-platformio.py ENV PATH $PATH:/root/.platformio/penv/bin WORKDIR /app