From cb39086b4bedeb1530d700bf82544f2267d6e362 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Fri, 28 Apr 2023 00:54:31 +0100 Subject: [PATCH] Use newer Go version for local preview container This may help to fix an issue where local builds could time out without succeeding. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fecd5b0503..3e761b36c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # change is that the Hugo version is now an overridable argument rather than a fixed # environment variable. -FROM golang:1.18-alpine +FROM docker.io/library/golang:1.20-alpine LABEL maintainer="Luc Perkins " @@ -24,7 +24,7 @@ RUN mkdir $HOME/src && \ cd "hugo-${HUGO_VERSION}" && \ go install --tags extended -FROM golang:1.18-alpine +FROM docker.io/library/golang:1.20-alpine RUN apk add --no-cache \ runuser \