From 9fc98a1fd446d25eb30b6cce99f1f9658be0b0cd Mon Sep 17 00:00:00 2001 From: paspo Date: Wed, 8 May 2024 22:03:50 +0200 Subject: [PATCH] display download URL for debug purposes --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01c8f1c..33fe87a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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