From f7307ea3eb8213b5c03f701302f0af6325eee253 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Fri, 19 Jun 2026 14:08:55 +0200 Subject: [PATCH 1/2] generator/build/Dockerfile: Ensured we don't have an outdated (cached) apt-get update for install.sh script Without this change, you can end up in a situaton where the lines above from the Dockerfile are cached and outdated. The apt-get update is especially relevant since the install.sh script tries to do apt-get install things, which has a tendency to fail if apt-get update is not recent. Signed-off-by: Ole Herman Schumacher Elgesem --- generator/build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/build/Dockerfile b/generator/build/Dockerfile index d38716283..148bf5028 100644 --- a/generator/build/Dockerfile +++ b/generator/build/Dockerfile @@ -15,7 +15,7 @@ COPY install.sh / COPY install_hugo.sh / USER jenkins WORKDIR /home/jenkins -RUN bash -x /install.sh +RUN sudo apt-get update -qy && bash -x /install.sh RUN bash /install_hugo.sh # This is where our repos will be From c1bb05b1c7fc9be0c9f0cac4e16abf971bfbf59d Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Fri, 19 Jun 2026 14:11:27 +0200 Subject: [PATCH 2/2] build-locally.sh: Added instructions for viewing the resulting build in a browser Signed-off-by: Ole Herman Schumacher Elgesem --- build-locally.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-locally.sh b/build-locally.sh index 19c24a2d6..199ceba75 100755 --- a/build-locally.sh +++ b/build-locally.sh @@ -139,3 +139,7 @@ fi echo "==> Done. Generated site is in: $DOC_WORK/generator/_site" echo " Tarballs (if packaged) are in: $DOC_WORK/output/" +echo " Start a webserver:" +echo " python3 -m http.server --directory $DOC_WORK/generator/_site/" +echo " And then open in your browser:" +echo " http://127.0.0.1:8000/"