Compare commits

...

3 Commits
56 ... dev

Author SHA1 Message Date
aptalca
8a231a0083 fix typo 2018-02-23 16:48:11 -05:00
aptalca
b4e6b7a6cf Add BRANCH variable 2018-02-23 15:52:39 -05:00
aptalca
b767cf054f Pull from git master 2018-02-23 15:45:03 -05:00
2 changed files with 9 additions and 7 deletions

View File

@@ -18,15 +18,11 @@ RUN \
php7-tokenizer \
tar && \
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 \
/var/www/localhost/heimdall && \
curl -o \
/tmp/heimdall.tar.gz -L \
"https://github.com/linuxserver/Heimdall/archive/${HEIM_VER}.tar.gz" && \
tar xf \
/tmp/heimdall.tar.gz -C \
/var/www/localhost/heimdall --strip-components=1 && \
git clone \
https://github.com/linuxserver/Heimdall.git \
/var/www/localhost/heimdall && \
echo "** cleanup **" && \
rm -rf \
/tmp/*

View File

@@ -4,6 +4,12 @@
mkdir -p \
/config/www/{backgrounds,icons}
# update from git repo
cd /var/www/localhost/heimdall
git pull
[[ ! -z "$BRANCH" ]] && \
git checkout "$BRANCH"
# symlink user config
symlinks=( \