mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 10:26:53 +01:00
3baaf6b7c4
* Update Hassio base image to 1.4.1 * Fix rotary encoder typo Fixes https://github.com/esphome/issues/issues/136
21 lines
540 B
Docker
21 lines
540 B
Docker
ARG BUILD_FROM=esphome/esphome-hassio-base-amd64:1.4.1
|
|
FROM ${BUILD_FROM}
|
|
|
|
# Copy root filesystem
|
|
COPY docker/rootfs/ /
|
|
COPY setup.py setup.cfg MANIFEST.in /opt/esphome/
|
|
COPY esphome /opt/esphome/esphome
|
|
|
|
RUN \
|
|
pip2 install --no-cache-dir --no-binary :all: -e /opt/esphome
|
|
|
|
# Build arguments
|
|
ARG BUILD_VERSION=dev
|
|
|
|
# Labels
|
|
LABEL \
|
|
io.hass.name="ESPHome" \
|
|
io.hass.description="Manage and program ESP8266/ESP32 microcontrollers through YAML configuration files" \
|
|
io.hass.type="addon" \
|
|
io.hass.version=${BUILD_VERSION}
|