Use newer Go version for local preview container
This may help to fix an issue where local builds could time out without succeeding.
This commit is contained in:
parent
686eefe27a
commit
cb39086b4b
|
|
@ -4,7 +4,7 @@
|
||||||
# change is that the Hugo version is now an overridable argument rather than a fixed
|
# change is that the Hugo version is now an overridable argument rather than a fixed
|
||||||
# environment variable.
|
# environment variable.
|
||||||
|
|
||||||
FROM golang:1.18-alpine
|
FROM docker.io/library/golang:1.20-alpine
|
||||||
|
|
||||||
LABEL maintainer="Luc Perkins <lperkins@linuxfoundation.org>"
|
LABEL maintainer="Luc Perkins <lperkins@linuxfoundation.org>"
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@ RUN mkdir $HOME/src && \
|
||||||
cd "hugo-${HUGO_VERSION}" && \
|
cd "hugo-${HUGO_VERSION}" && \
|
||||||
go install --tags extended
|
go install --tags extended
|
||||||
|
|
||||||
FROM golang:1.18-alpine
|
FROM docker.io/library/golang:1.20-alpine
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
runuser \
|
runuser \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue