Skip to content

Commit cb39086

Browse files
author
Tim Bannister
committed
Use newer Go version for local preview container
This may help to fix an issue where local builds could time out without succeeding.
1 parent 686eefe commit cb39086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# change is that the Hugo version is now an overridable argument rather than a fixed
55
# environment variable.
66

7-
FROM golang:1.18-alpine
7+
FROM docker.io/library/golang:1.20-alpine
88

99
LABEL maintainer="Luc Perkins <[email protected]>"
1010

@@ -24,7 +24,7 @@ RUN mkdir $HOME/src && \
2424
cd "hugo-${HUGO_VERSION}" && \
2525
go install --tags extended
2626

27-
FROM golang:1.18-alpine
27+
FROM docker.io/library/golang:1.20-alpine
2828

2929
RUN apk add --no-cache \
3030
runuser \

0 commit comments

Comments
 (0)