From f743681a0838d526e641471c7cff1d6f769df403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Ferdinand?= Date: Fri, 7 Mar 2025 23:00:02 +0100 Subject: [PATCH] Install bashio in Dockerfile - v1.1.1 --- newt/Dockerfile | 12 +++++------- newt/config.yaml | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/newt/Dockerfile b/newt/Dockerfile index 8144831..d8c3bcd 100644 --- a/newt/Dockerfile +++ b/newt/Dockerfile @@ -1,15 +1,13 @@ -# Use the Home Assistant add-on base image +# Use the official Home Assistant add-on base image FROM ghcr.io/hassio-addons/base:14.0.0 -# Set the correct Shell for Home Assistant add-ons -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -# Install necessary dependencies -RUN apk add --no-cache docker-cli bash +# Install bashio (required for reading Home Assistant options) +RUN apk add --no-cache bash curl jq \ + && curl -fsSL https://raw.githubusercontent.com/hassio-addons/bashio/master/install.sh | bashio # Copy the script into the container COPY run.sh /run.sh RUN chmod +x /run.sh # Run the script as the main process -ENTRYPOINT [ "/run.sh" ] \ No newline at end of file +ENTRYPOINT [ "/run.sh" ] diff --git a/newt/config.yaml b/newt/config.yaml index 38b30b0..a131889 100644 --- a/newt/config.yaml +++ b/newt/config.yaml @@ -1,5 +1,5 @@ name: "Newt Add-on" -version: "1.1.0" +version: "1.1.1" slug: "newt" description: "Runs the Newt container inside Home Assistant using Supervisor API" arch: