Install bashio in Dockerfile - v1.1.1

This commit is contained in:
Jørgen Ferdinand 2025-03-07 23:00:02 +01:00
parent 427ca7abdc
commit f743681a08
2 changed files with 6 additions and 8 deletions

View file

@ -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" ]
ENTRYPOINT [ "/run.sh" ]

View file

@ -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: