esphome/esphomeyaml/Dockerfile

21 lines
626 B
Docker
Raw Normal View History

2018-06-01 18:45:23 +02: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"]