mirror of
https://github.com/hassio-addons/addon-phlex.git
synced 2025-05-04 19:21:35 +00:00
🔨 Moved from git to curl for the repo
This commit is contained in:
parent
160943cf41
commit
b1541cad1b
2 changed files with 11 additions and 5 deletions
|
@ -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 /
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"boot": "auto",
|
||||
"hassio_api": true,
|
||||
"hassio_role": "default",
|
||||
"homeassistant_api": false,
|
||||
"ports": {
|
||||
"1778/tcp": 1778
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue