mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -5,10 +5,15 @@ VOLUME [ "/data" ]
|
|||||||
|
|
||||||
#Install last version https://github.com/dvershinin/lastversion
|
#Install last version https://github.com/dvershinin/lastversion
|
||||||
ENV PACKAGES="git moreutils"
|
ENV PACKAGES="git moreutils"
|
||||||
RUN \
|
|
||||||
apk add --no-cache ${PACKAGES} \
|
################
|
||||||
&& pip install --upgrade pip \
|
# Install apps #
|
||||||
&& pip install lastversion
|
################
|
||||||
|
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 && \
|
||||||
|
chmod 777 /automatic_packages.sh && \
|
||||||
|
/automatic_packages.sh && \
|
||||||
|
rm /automatic_packages.sh || true
|
||||||
|
|
||||||
# copy local files
|
# copy local files
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
|
|||||||
Reference in New Issue
Block a user