Use built-in bashio instead of installing - v1.1.4

This commit is contained in:
Jørgen Ferdinand 2025-03-07 23:04:16 +01:00
parent 37d46c97a8
commit c90a505321
2 changed files with 3 additions and 9 deletions

View file

@ -1,15 +1,9 @@
# Use the official Home Assistant add-on base image
FROM ghcr.io/hassio-addons/base:14.0.0
# Use the correct Home Assistant base image that includes bashio
FROM ghcr.io/home-assistant/amd64-base:3.18
# Install dependencies
RUN apk add --no-cache bash curl jq
# Manually download and install bashio
RUN mkdir -p /etc/bashio \
&& curl -fsSL -o /etc/bashio/bashio.sh https://raw.githubusercontent.com/hassio-addons/bashio/master/bashio.sh \
&& chmod +x /etc/bashio/bashio.sh \
&& ln -s /etc/bashio/bashio.sh /usr/bin/bashio
# Copy the script into the container
COPY run.sh /run.sh
RUN chmod +x /run.sh

View file

@ -1,5 +1,5 @@
name: "Newt Add-on"
version: "1.1.3"
version: "1.1.4"
slug: "newt"
description: "Runs the Newt container inside Home Assistant using Supervisor API"
arch: