mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2025-10-27 19:17:39 +09:00
use HEIM_VER in place of VERSION to avoid confusion with env var
This commit is contained in:
@@ -18,12 +18,12 @@ RUN \
|
|||||||
php7-tokenizer \
|
php7-tokenizer \
|
||||||
tar && \
|
tar && \
|
||||||
echo "**** install heimdall ****" && \
|
echo "**** install heimdall ****" && \
|
||||||
VERSION="$(curl -sX GET https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep 'tag_name' | cut -d\" -f4)" && \
|
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 \
|
curl -o \
|
||||||
/tmp/heimdall.tar.gz -L \
|
/tmp/heimdall.tar.gz -L \
|
||||||
"https://github.com/linuxserver/Heimdall/archive/${VERSION}.tar.gz" && \
|
"https://github.com/linuxserver/Heimdall/archive/${HEIM_VER}.tar.gz" && \
|
||||||
tar xf \
|
tar xf \
|
||||||
/tmp/heimdall.tar.gz -C \
|
/tmp/heimdall.tar.gz -C \
|
||||||
/var/www/localhost/heimdall --strip-components=1 && \
|
/var/www/localhost/heimdall --strip-components=1 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user