mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2025-10-27 03:03:38 +09:00
some tidying remove unneeded copy
This commit is contained in:
@@ -17,16 +17,17 @@ RUN \
|
||||
php7-pdo_sqlite \
|
||||
php7-tokenizer \
|
||||
tar && \
|
||||
mkdir -p /var/www/localhost/heimdall && \
|
||||
echo "**** install heimdall ****" && \
|
||||
VERSION="$(curl -sX GET https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep 'tag_name' | cut -d\" -f4)" && \
|
||||
echo "**Installing Heimdall ${VERSION}**" && \
|
||||
mkdir -p \
|
||||
/var/www/localhost/heimdall && \
|
||||
curl -o \
|
||||
/tmp/heimdall.tar.gz -L \
|
||||
"https://github.com/linuxserver/Heimdall/archive/${VERSION}.tar.gz" && \
|
||||
tar xf \
|
||||
/tmp/heimdall.tar.gz -C \
|
||||
/tmp && \
|
||||
cp -R /tmp/Heimdall-*/* /var/www/localhost/heimdall/ && \
|
||||
/var/www/localhost/heimdall --strip-components=1 && \
|
||||
echo "** cleanup **" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
Reference in New Issue
Block a user