custom-homeassistant (sha256:f17a94254fff31bfbfafa315e09689d67d01838e018b6e512d8881920087f7d1)

Published 2026-06-24 04:34:38 +02:00 by jakob in jakob/custom-homeassistant

Installation

docker pull git.jlkj.de/jakob/custom-homeassistant@sha256:f17a94254fff31bfbfafa315e09689d67d01838e018b6e512d8881920087f7d1
sha256:f17a94254fff31bfbfafa315e09689d67d01838e018b6e512d8881920087f7d1

About this package

Open-source home automation platform running on Python 3

Image layers

ADD alpine-minirootfs-3.22.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
COPY / / # buildkit
ENTRYPOINT ["/init"]
SHELL [/bin/ash -o pipefail -c]
ARG EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/
ENV LANG=C.UTF-8 S6_BEHAVIOUR_IF_STAGE2_FAILS=2 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_CMD_WAIT_FOR_SERVICES=1 S6_SERVICES_READYTIME=50 PIP_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/ UV_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/
LABEL io.hass.type=base io.hass.base.name=alpine
COPY / / # buildkit
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LABEL io.hass.type=base io.hass.base.name=python
ARG BUILD_ARCH=amd64
ARG BUILD_FROM=ghcr.io/home-assistant/base-python:3.14-alpine3.22-2026.05.0
RUN |2 BUILD_ARCH=amd64 BUILD_FROM=ghcr.io/home-assistant/base-python:3.14-alpine3.22-2026.05.0 /bin/ash -o pipefail -c apk add bluez bluez-deprecated bluez-libs confuse curl eudev-libs ffmpeg git grep hwdata-usb imlib2 iperf3 libftdi1 libgpiod libpulse libturbojpeg libzbar mariadb-connector-c net-tools nmap openssh-client p8-platform pianobar popt pulseaudio-alsa socat # buildkit
RUN |2 BUILD_ARCH=amd64 BUILD_FROM=ghcr.io/home-assistant/base-python:3.14-alpine3.22-2026.05.0 /bin/ash -o pipefail -c pip3 install --only-binary=:all: -r /tmp/requirements.txt # buildkit
WORKDIR /usr/src/
COPY /opt/ssocr/ /usr/local/ # buildkit
COPY /opt/libcec/ /usr/local/ # buildkit
RUN |2 BUILD_ARCH=amd64 BUILD_FROM=ghcr.io/home-assistant/base-python:3.14-alpine3.22-2026.05.0 /bin/ash -o pipefail -c python_version=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')") && echo "cec" > "/usr/local/lib/python${python_version}/site-packages/cec.pth" # buildkit
COPY /opt/picotts/usr/local/ /usr/local/ # buildkit
COPY /opt/telldus/ /usr/local/ # buildkit
COPY rootfs / # buildkit
LABEL io.hass.type=homeassistant-base org.opencontainers.image.title=Home Assistant Core baseimage org.opencontainers.image.description=Baseimage for Home Assistant Core container/supervisor installation org.opencontainers.image.authors=The Home Assistant Authors org.opencontainers.image.url=https://www.home-assistant.io/ org.opencontainers.image.documentation=https://www.home-assistant.io/docs/ org.opencontainers.image.licenses=Apache License 2.0
LABEL io.hass.type=core org.opencontainers.image.authors=The Home Assistant Authors org.opencontainers.image.description=Open-source home automation platform running on Python 3 org.opencontainers.image.documentation=https://www.home-assistant.io/docs/ org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.title=Home Assistant org.opencontainers.image.url=https://www.home-assistant.io/
ENV S6_SERVICES_GRACETIME=240000 UV_SYSTEM_PYTHON=true UV_NO_CACHE=true
WORKDIR /usr/src
COPY rootfs / # buildkit
COPY /usr/local/bin/go2rtc /bin/go2rtc # buildkit
COPY --parents requirements.txt homeassistant/package_constraints.txt homeassistant/ # buildkit
RUN /bin/ash -o pipefail -c go2rtc --version && pip3 install --no-cache-dir "uv==$(awk -F'==' '/^uv==/{print $2}' homeassistant/requirements.txt)" && uv pip install --no-build -r homeassistant/requirements.txt # buildkit
COPY requirements_all.txt home_assistant_frontend-* home_assistant_intents-* homeassistant/ # buildkit
RUN /bin/ash -o pipefail -c if ls homeassistant/home_assistant_*.whl 1> /dev/null 2>&1; then uv pip install homeassistant/home_assistant_*.whl; fi && uv pip install --no-build -r homeassistant/requirements_all.txt # buildkit
COPY --parents LICENSE* README* homeassistant/ pyproject.toml homeassistant/ # buildkit
RUN /bin/ash -o pipefail -c uv pip install -e ./homeassistant && python3 -m compileall homeassistant/homeassistant # buildkit
WORKDIR /config
RUN /bin/ash -o pipefail -c apk add gzip patch brotli # buildkit
COPY patches /patches # buildkit
RUN /bin/ash -o pipefail -c for patch in /patches/hass/*.patch; do echo "Applying $patch"; patch -p1 -d /usr/src/homeassistant < "$patch"; done # buildkit

Labels

Key Value
io.hass.arch amd64
io.hass.base.arch amd64
io.hass.base.image ghcr.io/home-assistant/base:3.22
io.hass.base.name python
io.hass.base.version 2026.05.0
io.hass.type core
io.hass.version 2026.6.4
org.opencontainers.image.authors The Home Assistant Authors
org.opencontainers.image.created 2026-06-19 21:04:28+00:00
org.opencontainers.image.description Open-source home automation platform running on Python 3
org.opencontainers.image.documentation https://www.home-assistant.io/docs/
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.source https://github.com/home-assistant/core
org.opencontainers.image.title Home Assistant
org.opencontainers.image.url https://www.home-assistant.io/
org.opencontainers.image.version 2026.6.4
Details
Container
2026-06-24 04:34:38 +02:00
1
OCI / Docker
linux/amd64
The Home Assistant Authors
Apache-2.0
589 MiB
Versions (4) View all
2026.5 2026-06-24
latest 2026-06-24
2026.4 2026-05-28
2026.2 2026-04-17