Use newer Go version for local preview container

This may help to fix an issue where local builds could time out without
succeeding.
pull/40878/head
Tim Bannister 2023-04-28 00:54:31 +01:00
parent 686eefe27a
commit cb39086b4b
1 changed files with 2 additions and 2 deletions

View File

@ -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 <lperkins@linuxfoundation.org>"
@ -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 \