homeassistant (2026.8.3)
Installation
docker pull forgejo.treyturner.info/treyturner/homeassistant:2026.8.3sha256:60fc7f32ce61e98d887f21a8c770a2b05b9531af99ac6cbb8f91878cca3227a4About this package
baseimage-alpine image by linuxserver.io
Image layers
| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2026-08-29T17:11:49+00:00 |
| ARG VERSION=aa9e94e5-ls8 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| ARG WITHCONTENV_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- aa9e94e5-ls8 Build-date:- 2026-08-29T17:11:49+00:00 |
| LABEL maintainer=TheLamer |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit |
| ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |6 BUILD_DATE=2026-08-29T17:11:49+00:00 VERSION=aa9e94e5-ls8 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
| COPY root/ / # buildkit |
| ENTRYPOINT ["/init"] |
| ARG BUILD_DATE=2026-08-29T18:23:03Z |
| ARG VERSION=2026.8.3-2b9e510c027d4e5d0c598ad23c609a782fafb49e |
| ARG HASS_RELEASE=2026.8.3 |
| LABEL build_version=Linuxserver.io version:- 2026.8.3-2b9e510c027d4e5d0c598ad23c609a782fafb49e Build-date:- 2026-08-29T18:23:03Z |
| LABEL maintainer=saarg, roxedus |
| ENV S6_SERVICES_GRACETIME=240000 UV_SYSTEM_PYTHON=true UV_NO_CACHE=true UV_EXTRA_INDEX_URL=https://wheels.home-assistant.io/musllinux-index/ ATTACHED_DEVICES_PERMS=/dev/ttyACM* /dev/ttyUSB* -type c |
| COPY root/etc/pip.conf /etc/ # buildkit |
| RUN |3 BUILD_DATE=2026-08-29T18:23:03Z VERSION=2026.8.3-2b9e510c027d4e5d0c598ad23c609a782fafb49e HASS_RELEASE=2026.8.3 /bin/sh -c echo "**** install build packages ****" && apk add --no-cache --virtual=build-dependencies autoconf patch bzip2-dev coreutils dpkg-dev dpkg expat-dev findutils build-base gdbm-dev libc-dev libffi-dev libnsl-dev openssl openssl-dev libtirpc-dev linux-headers make mpdecimal-dev ncurses-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev xz-dev zlib-dev bluez-dev && echo "**** install runtime packages ****" && apk add --no-cache bind-tools bluez bluez-deprecated bluez-libs curl eudev-libs ffmpeg git hwdata-usb imlib2 iperf3 iputils libcap libftdi1 libgpiod libturbojpeg libpulse libstdc++ libxslt libzbar mariadb-connector-c net-tools nmap openssh-client openssl pianobar postgresql-libs pulseaudio-alsa socat tiff xz && echo "**** Retrieve versions ****" && mkdir -p /tmp/core && if [ -z ${HASS_RELEASE+x} ]; then HASS_RELEASE=$(curl -sX GET https://api.github.com/repos/home-assistant/core/releases/latest | jq -r .tag_name); fi && echo "HASS_RELEASE retrieved as ${HASS_RELEASE}" && curl -o /tmp/core.tar.gz -L "https://github.com/home-assistant/core/archive/${HASS_RELEASE}.tar.gz" && tar xf /tmp/core.tar.gz -C /tmp/core --strip-components=1 && HASS_BASE=$(cat /tmp/core/.github/workflows/builder.yml | grep 'BASE_IMAGE_VERSION: ' | sed 's|.*: "||' | sed 's|".*||') && echo "HASS_BASE retrieved as ${HASS_BASE}" && HA_PY_MAJOR=$(curl -fsL https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/Dockerfile | grep 'ARG BUILD_FROM=' | cut -d: -f2 | sed 's|-alpine.*||') && echo "HA_PY_MAJOR retrieved as ${HA_PY_MAJOR}" && HA_DOCKER_BASE=$(curl -fsL https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/Dockerfile | grep 'ARG BUILD_FROM=' | cut -d: -f2 | cut -d- -f3) && echo "HA_DOCKER_BASE detected as version ${HA_DOCKER_BASE}" && git clone --branch "${HA_DOCKER_BASE}" --depth 1 https://github.com/home-assistant/docker-base.git /tmp/ha-docker-base && HA_PY_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/Dockerfile | grep 'ARG PYTHON_VERSION=' | sed 's|.*PYTHON_VERSION=||') && HA_JEMALLOC_VER=$(cat /tmp/ha-docker-base/alpine/Dockerfile | grep 'ARG JEMALLOC_VERSION=' | sed 's|.*JEMALLOC_VERSION=||') && HA_ALPINE_VER=$(curl -fsL https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/Dockerfile | grep 'ARG BUILD_FROM=' | cut -d: -f2 | sed 's|.*-alpine||' | sed 's|-.*||') && IMAGE_ALPINE_VER=$(cat /etc/os-release | grep PRETTY_NAME | sed 's|.*Linux v||' | sed 's|"||') && if [[ "${HA_ALPINE_VER}" != "${IMAGE_ALPINE_VER}" ]]; then echo -e "**** Incorrect OS version detected, canceling build ****\n**** Upstream expected OS: ${HA_ALPINE_VER} ****\n**** Detected OS: ${IMAGE_ALPINE_VER}****"; exit 1; fi && HA_PIP_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/Dockerfile | grep 'ARG PIP_VERSION=' | sed 's|.*PIP_VERSION=||') && HA_UV_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/requirements.txt" | grep 'uv==' | sed 's|.*uv==||') && HA_GO2RTC_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/homeassistant/components/go2rtc/const.py" | grep 'RECOMMENDED_VERSION' | sed 's|.*RECOMMENDED_VERSION = "||' | sed 's|".*||') && curl -o /bin/go2rtc -fL "https://github.com/AlexxIT/go2rtc/releases/download/v${HA_GO2RTC_VERSION}/go2rtc_linux_amd64" && chmod +x /bin/go2rtc && echo "**** Quick test go2rtc binary: ****" && /bin/go2rtc --version && echo "**** install jemalloc ****" && git clone --branch ${HA_JEMALLOC_VER} --depth 1 "https://github.com/jemalloc/jemalloc" /tmp/jemalloc && cd /tmp/jemalloc && ./autogen.sh --with-lg-page=16 && make -j "$(nproc)" && make install_lib_shared install_bin && echo "**** install python ****" && PY_HA_ALPINE_VER=$(echo "${HA_ALPINE_VER}" | sed 's|\.||') && PY_RELEASE_TAG=$(curl -s https://api.github.com/repos/linuxserver/docker-python/releases | jq -r "first(.[] | select(.tag_name | startswith(\"alpine${PY_HA_ALPINE_VER}-${HA_PY_VERSION}\"))) | .tag_name") && if [ -n "${PY_RELEASE_TAG}" ]; then echo "**** Installing python from the linuxserver python repo release ${PY_RELEASE_TAG} ****" && curl -o /tmp/python.tar.gz -L "https://github.com/linuxserver/docker-python/releases/download/${PY_RELEASE_TAG}/python-amd64.tar.gz" && tar xf /tmp/python.tar.gz -C /usr/local && apk add --no-cache $(cat /usr/local/python-deps.txt); else echo "**** Python version ${HA_PY_VERSION} not found in the linuxserver repo, compiling from source ****" && mkdir -p /tmp/python && curl -o /tmp/python.tar.xz -L "https://www.python.org/ftp/python/${HA_PY_VERSION}/Python-${HA_PY_VERSION}.tar.xz" && tar xf /tmp/python.tar.xz -C /tmp/python --strip-components=1 && for patch in /tmp/ha-docker-base/python/${HA_PY_MAJOR}/*.patch; do patch -d /tmp/python -p 1 < "${patch}"; done && cd /tmp/python && ./configure --build="x86_64-linux-musl" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-libmpdec --with-system-expat --without-ensurepip --without-static-libpython && make -j "$(nproc)" LDFLAGS="-Wl,--strip-all" CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && make install && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-cache && find /usr/local -depth \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + && cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config && curl -o /tmp/get-pip.py -L "https://bootstrap.pypa.io/get-pip.py" && /usr/local/bin/python3 /tmp/get-pip.py --disable-pip-version-check --no-cache-dir pip==${HA_PIP_VERSION} && find /usr/local -depth \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + ; fi && echo "**** install homeassistant ****" && cd /tmp/core && pip3 install uv==${HA_UV_VERSION} && uv pip install --no-build -r https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/requirements.txt && uv pip install --no-build -r requirements.txt && uv pip install --no-build -r requirements_all.txt isal && uv pip install homeassistant==${HASS_RELEASE} && uv pip install --reinstall --no-deps "python-kasa @ git+https://github.com/treyturner/python-kasa.git@e426fdb5aa8582aee6979c034162e2a44f8b1f24" && for cleanfiles in *.pyc *.pyo; do find /usr/local/lib/python3.* -iname "${cleanfiles}" -exec rm -f '{}' + ; done && chown -R root:7310 /usr/local && chmod -R g+w /usr/local && groupadd lsio && groupmod -g 7310 lsio && mv "/usr/local/lib/python${HA_PY_MAJOR}" "/usr/local/lib/python${HA_PY_MAJOR}.bak" && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && apk del --purge build-dependencies && rm -rf /tmp/* /root/.cache /root/.cargo # buildkit |
| ENV HOME=/config |
| COPY root/ / # buildkit |
| EXPOSE [8123/tcp] |
| VOLUME [/config] |
Labels
| Key | Value |
|---|---|
| build_version | Linuxserver.io version:- 2026.8.3-2b9e510c027d4e5d0c598ad23c609a782fafb49e Build-date:- 2026-08-29T18:23:03Z |
| maintainer | saarg, roxedus |
| org.opencontainers.image.authors | linuxserver.io |
| org.opencontainers.image.created | 2026-08-29T18:23:03Z |
| org.opencontainers.image.description | baseimage-alpine image by linuxserver.io |
| org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-baseimage-alpine |
| org.opencontainers.image.licenses | GPL-3.0-only |
| org.opencontainers.image.ref.name | 4e30bcda4fa24e4a00768603e77ba6e7e1b64a18 |
| org.opencontainers.image.revision | 2b9e510c027d4e5d0c598ad23c609a782fafb49e |
| org.opencontainers.image.source | https://github.com/treyturner/docker-homeassistant |
| org.opencontainers.image.title | Baseimage-alpine |
| org.opencontainers.image.url | https://github.com/linuxserver/docker-baseimage-alpine/packages |
| org.opencontainers.image.vendor | linuxserver.io |
| org.opencontainers.image.version | aa9e94e5-ls8 |
Details
2026-08-29 13:27:43 -05:00
Versions (5)
View all
Container
17
OCI / Docker
linux/amd64
linuxserver.io
GPL-3.0-only
698 MiB