docker-Tasmota-platformio-e.../Dockerfile
Lukas Endigo 3a1224ff29
Some checks are pending
Tasmota Docker test / build (ubuntu-20.04, 3.10) (push) Waiting to run
Tasmota Docker test / build (ubuntu-20.04, 3.11) (push) Waiting to run
Tasmota Docker test / build (ubuntu-22.04, 3.10) (push) Waiting to run
Tasmota Docker test / build (ubuntu-22.04, 3.11) (push) Waiting to run
Publish Docker / build (push) Waiting to run
first commit
2024-10-29 09:28:22 +05:00

31 lines
790 B
Docker

FROM python:latest
LABEL description="Docker Container with a complete build environment for Tasmota using PlatformIO" \
version="13.0" \
maintainer="blakadder_" \
organization="https://github.com/tasmota"
# Install platformio.
RUN pip install --upgrade pip &&\
pip install --upgrade platformio
# Init project
COPY init_pio_tasmota /init_pio_tasmota
# Install project dependencies using a init project.
RUN cd /init_pio_tasmota &&\
platformio upgrade &&\
pio pkg update &&\
pio run &&\
cd ../ &&\
rm -fr init_pio_tasmota &&\
cp -r /root/.platformio / &&\
mkdir /.cache /.local &&\
chmod -R 777 /.platformio /usr/local/lib /.cache /.local
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]