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
|
ARG HUGO_ARCH=amd64
|
||||||
|
|
||||||
RUN \
|
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) && \
|
URL=$(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets) && \
|
||||||
echo "Downloading: ${URL}" && \
|
echo "Downloading: ${URL}" && \
|
||||||
wget "${URL}" -O - | tar xzv -C /tmp
|
wget "${URL}" -O - | tar xzv -C /tmp
|
||||||
|
|
||||||
|
|
||||||
##### final image
|
##### final image
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user