mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
20 lines
626 B
Docker
20 lines
626 B
Docker
# 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"]
|