1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-06 10:50:58 +01:00
esphome/esphomeyaml/Dockerfile

21 lines
626 B
Docker
Raw Normal View History

2018-06-01 17:45:23 +01:00
# 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"]