mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -9,15 +9,15 @@ VOLUME [ "/data" ]
|
|||||||
################
|
################
|
||||||
# Install apps #
|
# Install apps #
|
||||||
################
|
################
|
||||||
|
# Add rootfs
|
||||||
|
COPY rootfs/ /
|
||||||
|
# Automatic apps & bashio
|
||||||
RUN $(curl --help &>/dev/null) && (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \
|
RUN $(curl --help &>/dev/null) && (apt-get install -y --no-install-recommends curl || apk add --no-cache curl) && \
|
||||||
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \
|
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh && \
|
||||||
chmod 777 /automatic_packages.sh && \
|
chmod 777 /automatic_packages.sh && \
|
||||||
/automatic_packages.sh && \
|
/automatic_packages.sh && \
|
||||||
rm /automatic_packages.sh || true
|
rm /automatic_packages.sh || true
|
||||||
|
# Entrypoint logic
|
||||||
# copy local files
|
|
||||||
COPY rootfs/ /
|
|
||||||
#WORKDIR /
|
|
||||||
RUN chmod 777 /entrypoint.sh
|
RUN chmod 777 /entrypoint.sh
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
CMD [ "/entrypoint.sh" ]
|
CMD [ "/entrypoint.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user