mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
21 lines
626 B
Text
21 lines
626 B
Text
|
# Dockerfile for HassIO add-on
|
||
|
ARG BUILD_FROM
|
||
|
FROM $BUILD_FROM
|
||
|
|
||
|
ENV LANG C.UTF-8
|
||
|
|
||
|
# Install requirements for add-on
|
||
|
RUN apk add --no-cache python2 py2-pip git openssh libc6-compat && \
|
||
|
pip install --no-cache-dir platformio && \
|
||
|
platformio platform install espressif8266 \
|
||
|
--with-package tool-esptool \
|
||
|
--with-package framework-arduinoespressif8266 \
|
||
|
--with-package tool-mkspiffs \
|
||
|
--with-package tool-espotapy
|
||
|
|
||
|
RUN pip install --no-cache-dir \
|
||
|
git+git://github.com/OttoWinter/esphomeyaml.git@v1.6.0 \
|
||
|
tornado esptool
|
||
|
|
||
|
CMD ["esphomeyaml", "/config/esphomeyaml", "dashboard"]
|