# hadolint ignore=DL3006 FROM alpine:latest RUN apk add curl python3 py3-pip RUN rm -f /usr/lib/*/EXTERNALLY-MANAGED RUN pip install esphome RUN pip install -r <(curl -s https://raw.githubusercontent.com/esphome/esphome/main/requirements_optional.txt)