Update apps/home-assistant/Dockerfile
This commit is contained in:
parent
a38e74bf2b
commit
e1a341b0de
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue