🔨 Moved from git to curl for the repo

This commit is contained in:
ludeeus 2018-09-26 22:31:57 +02:00
parent 160943cf41
commit b1541cad1b
2 changed files with 11 additions and 5 deletions

View file

@ -26,11 +26,16 @@ RUN \
php7-zip=7.2.10-r0 \
php7-simplexml=7.2.10-r0 \
php7-xml=7.2.10-r0 \
&& apk add --no-cache --virtual .build-dependencies \
git=2.18.0-r0 \
&& git clone --depth=1 \
https://github.com/d8ahazard/Phlex /opt \
&& apk del --purge .build-dependencies
\
&& mkdir -p /opt \
\
&& curl -J -L -o /tmp/web.zip \
"https://github.com/d8ahazard/Phlex/archive/8500344f6ff66bebd2518868579f39bb38161784.zip" \
\
&& unzip -d /tmp /tmp/web.zip \
&& mv /tmp/Phlex-*/* /opt \
\
&& rm -fr /tmp/*
# Copy root filesystem
COPY rootfs /

View file

@ -15,6 +15,7 @@
"boot": "auto",
"hassio_api": true,
"hassio_role": "default",
"homeassistant_api": false,
"ports": {
"1778/tcp": 1778
},