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
|
||||
FROM ghcr.io/home-assistant/amd64-base:3.18
|
||||
# Use the official Home Assistant add-on base image
|
||||
FROM ghcr.io/hassio-addons/base:14.0.0
|
||||
|
||||
# Install dependencies
|
||||
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 run.sh /run.sh
|
||||
RUN chmod +x /run.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue