mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2025-10-26 18:53:40 +09:00
Pull from git master
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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/*
|
||||||
|
|||||||
Reference in New Issue
Block a user