display download URL for debug purposes
This commit is contained in:
parent
14a03309d3
commit
9fc98a1fd4
@ -6,8 +6,10 @@ ARG HUGO_ARCH=amd64
|
||||
|
||||
RUN \
|
||||
apk -U add lastversion && \
|
||||
wget $(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets ) -O - | tar xzv -C /tmp
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user