mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-23 08:20:11 +02:00
Compare commits
4 Commits
14af5d7fdd
...
3fab1617c1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fab1617c1 | ||
|
|
43b5507f05 | ||
|
|
9093f9ed72 | ||
|
|
87e38f7303 |
@@ -60,14 +60,6 @@ ENV PACKAGES="jq"
|
||||
COPY ha_autoapps.sh /ha_autoapps.sh
|
||||
RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.sh
|
||||
|
||||
# Install bashio
|
||||
RUN BASHIO_VERSION="0.14.3" && \
|
||||
mkdir -p /tmp/bashio && \
|
||||
curl -f -L -s -S "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /tmp/bashio && \
|
||||
mv /tmp/bashio/lib /usr/lib/bashio && \
|
||||
ln -s /usr/lib/bashio/bashio /usr/bin/bashio && \
|
||||
rm -rf /tmp/bashio
|
||||
|
||||
################
|
||||
# 4 Entrypoint #
|
||||
################
|
||||
@@ -77,10 +69,6 @@ ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
|
||||
COPY ha_entrypoint.sh /ha_entrypoint.sh
|
||||
RUN chmod 777 /ha_entrypoint.sh
|
||||
|
||||
# Install bashio standalone fallback
|
||||
COPY bashio-standalone.sh /usr/local/lib/bashio-standalone.sh
|
||||
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
|
||||
|
||||
WORKDIR /
|
||||
ENTRYPOINT [ "/usr/bin/env" ]
|
||||
CMD [ "/ha_entrypoint.sh" ]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
|
||||
Reference in New Issue
Block a user