Fix: Install Newt inside the add-on - v1.1.9
This commit is contained in:
parent
bbfd2398cd
commit
543859c337
2 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,13 @@
|
||||||
# Use the correct Home Assistant base image that includes bashio
|
# Use the official Home Assistant add-on base image
|
||||||
FROM ghcr.io/home-assistant/amd64-base:3.18
|
FROM ghcr.io/hassio-addons/base:14.0.0
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk add --no-cache bash curl jq
|
RUN apk add --no-cache bash curl jq
|
||||||
|
|
||||||
|
# Download and install Newt
|
||||||
|
RUN curl -fsSL -o /usr/bin/newt https://github.com/fosrl/newt/releases/download/1.0.0/newt_linux_amd64 \
|
||||||
|
&& chmod +x /usr/bin/newt
|
||||||
|
|
||||||
# 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.8"
|
version: "1.1.9"
|
||||||
slug: "newt"
|
slug: "newt"
|
||||||
description: "Runs Newt inside Home Assistant OS"
|
description: "Runs Newt inside Home Assistant OS"
|
||||||
arch:
|
arch:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue