rebase to alpine 3.8

This commit is contained in:
sparklyballs
2018-09-05 10:56:07 +01:00
parent 9b63642fed
commit 46e95f4da6
3 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
FROM lsiobase/alpine.nginx:3.7
FROM lsiobase/alpine.nginx:3.8
# set version label
ARG BUILD_DATE
@@ -9,8 +9,8 @@ LABEL maintainer="aptalca"
# environment settings
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
# install packages
RUN \
echo "**** install runtime pacakges ****" && \
apk add --no-cache \
curl \
php7-ctype \
@@ -18,18 +18,19 @@ 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 && \
HEIM_VER=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
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 && \
echo "** cleanup **" && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*
/tmp/*
# add local files
COPY root/ /