Add update to apk commands in webtools dockerfile

This commit is contained in:
Jean Froment 2017-03-27 15:23:48 +02:00
parent a9bdb574f9
commit bed71a665e
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
FROM alpine:3.5 FROM alpine:3.5
MAINTAINER Jean Froment <froment.je@gmail.com> MAINTAINER Jean Froment <froment.je@gmail.com>
RUN apk add ca-certificates wget unzip && update-ca-certificates \ RUN apk updadate
RUN apk add --update ca-certificates curl wget unzip && update-ca-certificates \
&& $wt_tag=$(curl -sX GET "https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest" \ && $wt_tag=$(curl -sX GET "https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') \ | awk '/tag_name/{print $4;exit}' FS='[""]') \
&& curl -sL "https://github.com/ukdtom/WebTools.bundle/releases/download/$wt_tag/WebTools.bundle.zip" \ && curl -sL "https://github.com/ukdtom/WebTools.bundle/releases/download/$wt_tag/WebTools.bundle.zip" \