build-hass/upstream-container/Dockerfile

19 lines
583 B
Docker

# clone hass repo, build their Dockerfile
# "stable" is probably a branch
FROM ghcr.io/home-assistant/home-assistant:stable
# RUN apk add libc-dev bluez-headers bluez mysql-client
# mysql-client: so hass wont use the slower pymysql
#
# musl-dev and bluez-dev: the upstream container tries to use a broken wheel
# (they build their own, and their build systems are interdependently
# overcomplicated) for pybluez for a very long time now)
RUN set -x && \
apk add libc-dev python3-dev cups-dev gcc mysql-client musl-dev bluez-dev && \
chmod u+s /bin/ping
ENTRYPOINT /init