Pull from git master

This commit is contained in:
aptalca
2018-02-23 15:45:03 -05:00
committed by GitHub
parent 78ecdea6d6
commit b767cf054f

View File

@@ -18,15 +18,11 @@ RUN \
php7-tokenizer \ php7-tokenizer \
tar && \ tar && \
echo "**** install heimdall ****" && \ echo "**** install heimdall ****" && \
HEIM_VER="$(curl -sX GET https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep 'tag_name' | cut -d\" -f4)" && \
mkdir -p \ mkdir -p \
/var/www/localhost/heimdall && \ /var/www/localhost/heimdall && \
curl -o \ git clone \
/tmp/heimdall.tar.gz -L \ https://github.com/linuxserver/Heimdall.git \
"https://github.com/linuxserver/Heimdall/archive/${HEIM_VER}.tar.gz" && \ /var/www/localhost/heimdall && \
tar xf \
/tmp/heimdall.tar.gz -C \
/var/www/localhost/heimdall --strip-components=1 && \
echo "** cleanup **" && \ echo "** cleanup **" && \
rm -rf \ rm -rf \
/tmp/* /tmp/*