Fix bashio installation - v1.1.3
This commit is contained in:
parent
a93d284479
commit
37d46c97a8
2 changed files with 6 additions and 3 deletions
|
@ -4,8 +4,11 @@ FROM ghcr.io/hassio-addons/base:14.0.0
|
|||
# Install dependencies
|
||||
RUN apk add --no-cache bash curl jq
|
||||
|
||||
# Install bashio correctly
|
||||
RUN curl -fsSL https://raw.githubusercontent.com/hassio-addons/bashio/master/install.sh | bash
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue