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
parent
686eefe27a
commit
cb39086b4b
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue