From e1a341b0de0b7a2e801efd0b7c2e1999c7b15d1d Mon Sep 17 00:00:00 2001 From: tommy Date: Sat, 4 Jan 2025 10:31:57 +0000 Subject: [PATCH] Update apps/home-assistant/Dockerfile --- apps/home-assistant/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/home-assistant/Dockerfile b/apps/home-assistant/Dockerfile index a418535..ff353a8 100644 --- a/apps/home-assistant/Dockerfile +++ b/apps/home-assistant/Dockerfile @@ -80,13 +80,16 @@ RUN \ --requirement "https://raw.githubusercontent.com/home-assistant/docker/${HOME_ASSISTANT_BASE}/requirements.txt" \ && uv pip install --system --only-binary=:all: --find-links "${HOMEASSISTANT_WHEELS}" --requirement /tmp/requirements_all.txt \ && uv pip install --system --only-binary=:all: --find-links "${HOMEASSISTANT_WHEELS}" homeassistant=="${VERSION}" \ + && curl -L https://github.com/AlexxIT/go2rtc/releases/download/v1.9.8/go2rtc_linux_amd64 --output /bin/go2rtc \ + && chmod +x /bin/go2rtc \ && mkdir -p /config && chown nobody:nogroup -R /config \ && apk del --purge .build-deps \ && rm -rf /root/.cache /root/.cargo /tmp/* COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh && \ - chown nobody:nogroup /entrypoint.sh + chown nobody:nogroup /entrypoint.sh && \ + chmod +x /sbin/tini USER nobody:nogroup WORKDIR /config