Use built-in bashio instead of installing - v1.1.4
This commit is contained in:
parent
37d46c97a8
commit
c90a505321
2 changed files with 3 additions and 9 deletions
|
@ -1,15 +1,9 @@
|
||||||
# Use the official Home Assistant add-on base image
|
# Use the correct Home Assistant base image that includes bashio
|
||||||
FROM ghcr.io/hassio-addons/base:14.0.0
|
FROM ghcr.io/home-assistant/amd64-base:3.18
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk add --no-cache bash curl jq
|
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 the script into the container
|
||||||
COPY run.sh /run.sh
|
COPY run.sh /run.sh
|
||||||
RUN chmod +x /run.sh
|
RUN chmod +x /run.sh
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: "Newt Add-on"
|
name: "Newt Add-on"
|
||||||
version: "1.1.3"
|
version: "1.1.4"
|
||||||
slug: "newt"
|
slug: "newt"
|
||||||
description: "Runs the Newt container inside Home Assistant using Supervisor API"
|
description: "Runs the Newt container inside Home Assistant using Supervisor API"
|
||||||
arch:
|
arch:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue