upgrade baseimage packages during build

This commit is contained in:
aptalca
2018-11-20 12:21:17 -05:00
parent 082195f95e
commit a87dcde2cd
4 changed files with 10 additions and 6 deletions

View File

@@ -15,8 +15,9 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
apk add --no-cache --upgrade \
curl \
nginx \
php7-ctype \
php7-pdo_sqlite \
php7-tokenizer \
@@ -26,7 +27,7 @@ RUN \
mkdir -p \
/var/www/localhost/heimdall && \
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \