From 680811cf951874bc5170174bcba87558fcf20a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Rosada?= Date: Sun, 18 Jun 2023 22:54:02 +0200 Subject: [PATCH] Update Dockerfile --- .image/homebridge/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.image/homebridge/Dockerfile b/.image/homebridge/Dockerfile index cb2e285..fd9554c 100644 --- a/.image/homebridge/Dockerfile +++ b/.image/homebridge/Dockerfile @@ -5,8 +5,10 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN curl -sSfL https://repo.homebridge.io/KEY.gpg | gpg --dearmor | tee /usr/share/keyrings/homebridge.gpg > /dev/null \ && echo "deb [signed-by=/usr/share/keyrings/homebridge.gpg] https://repo.homebridge.io stable main" | tee /etc/apt/sources.list.d/homebridge.list > /dev/null \ && apt-get update \ - && apt-get install homebridge -y \ - && apt-get upgrade -y + && apt-get install homebridge --no-install-recommends -y \ + && apt-get upgrade -y \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/opt/homebridge/start.sh", "--allow-root"]