From 9771afebb0a68158e9ec55c1ae961f5afdd4248f Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 29 Sep 2024 22:53:43 -0700 Subject: [PATCH] Installing standalonebinary for hugo to get latest version --- website/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/Dockerfile b/website/Dockerfile index 2b78bc0..9f7b9e4 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,6 +1,5 @@ FROM gitea/runner-images:ubuntu-latest -RUN apt-get update && \ - apt-get install -y --no-install-recommends hugo && \ - rm -rf var/lib/{apt,dpkg,cache,log}/ - +RUN wget https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_0.135.0_linux-amd64.deb && \ + apt-get install -y ./hugo_0.135.0_linux-amd64.deb && \ + rm -rf var/lib/{apt,dpkg,cache,log} hugo_0.135.0_linux-arm64.deb