force package update
This commit is contained in:
parent
26a777f4df
commit
1ac07c5704
@ -5,12 +5,12 @@ FROM alpine:latest as prep
|
||||
ARG HUGO_ARCH=amd64
|
||||
|
||||
RUN \
|
||||
apk -U add lastversion && \
|
||||
apk --no-cache upgrade && \
|
||||
apk --no-cache add lastversion && \
|
||||
URL=$(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets) && \
|
||||
echo "Downloading: ${URL}" && \
|
||||
wget "${URL}" -O - | tar xzv -C /tmp
|
||||
|
||||
|
||||
##### final image
|
||||
|
||||
FROM alpine:latest
|
||||
|
Loading…
Reference in New Issue
Block a user