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: