mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
Update Dockerfile
This commit is contained in:
parent
a07a7a87a2
commit
1a92381994
1 changed files with 3 additions and 3 deletions
|
@ -31,11 +31,11 @@ RUN /bin/bash -c "if [[ '$BUILD_FROM' = *\"ubuntu\"* ]]; then \
|
||||||
# * On alpine, only install ESP8266 toolchain
|
# * On alpine, only install ESP8266 toolchain
|
||||||
COPY platformio.ini /pio/platformio.ini
|
COPY platformio.ini /pio/platformio.ini
|
||||||
RUN /bin/bash -c "if [[ '$BUILD_FROM' = *\"ubuntu\"* ]]; then \
|
RUN /bin/bash -c "if [[ '$BUILD_FROM' = *\"ubuntu\"* ]]; then \
|
||||||
platformio run -e espressif32 -e espressif8266 -d /pio; exit 0; \
|
platformio run -e espressif32 -e espressif8266 -d /pio; \
|
||||||
else \
|
else \
|
||||||
echo \"\$(head -8 /pio/platformio.ini)\" >/pio/platformio.ini; \
|
echo \"\$(head -8 /pio/platformio.ini)\" >/pio/platformio.ini; \
|
||||||
platformio run -e espressif8266 -d /pio; exit 0; \
|
platformio run -e espressif8266 -d /pio; \
|
||||||
fi"
|
fi"; exit 0
|
||||||
|
|
||||||
# Install latest esphomeyaml from git
|
# Install latest esphomeyaml from git
|
||||||
RUN pip install --no-cache-dir \
|
RUN pip install --no-cache-dir \
|
||||||
|
|
Loading…
Reference in a new issue