Skip to content

Commit 0f7af13

Browse files
committed
Downgrade to go 1.22 due to golang/go#68976
1 parent acea86a commit 0f7af13

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docker/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
FROM golang:latest AS go
1+
# locked to golang:1.22.8 for now
2+
# as there's a bug with qemu and go 1.23
3+
# its meant to be fixed in 1.23.3
4+
# but I guess we'll wait and see
5+
# https://github.com/golang/go/issues/69259
6+
FROM golang:1.22.8 AS go
27
LABEL maintainer="Jamie Curnow <[email protected]>"
38

49
RUN apt-get update \

scripts/install-tools

+8-7
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,26 @@ case $TARGETPLATFORM in
1818
esac
1919

2020
echo -e "${BLUE}${CYAN}Installing golangci-lint ...${RESET}"
21-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest || true
21+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
2222

2323
echo -e "${BLUE}${CYAN}Installing richgo ...${RESET}"
24-
go install github.com/kyoh86/richgo@latest || true
24+
go install github.com/kyoh86/richgo@latest
2525

2626
echo -e "${BLUE}${CYAN}Installing govulncheck ...${RESET}"
27-
go install golang.org/x/vuln/cmd/govulncheck@latest || true
27+
go install golang.org/x/vuln/cmd/govulncheck@latest
2828

2929
echo -e "${BLUE}${CYAN}Installing tparse ...${RESET}"
30-
go install github.com/mfridman/tparse@latest || true
30+
go install github.com/mfridman/tparse@latest
3131

3232
echo -e "${BLUE}${CYAN}Installing go-junit-report ...${RESET}"
33-
go install github.com/jstemmer/go-junit-report@latest || true
33+
go install github.com/jstemmer/go-junit-report@latest
3434

3535
echo -e "${BLUE}${CYAN}Installing go-test-coverage ...${RESET}"
36-
go install github.com/vladopajic/go-test-coverage/v2@latest || true
36+
# use `latest` again when we can use go 1.23
37+
go install github.com/vladopajic/go-test-coverage/[email protected]
3738

3839
echo -e "${BLUE}${CYAN}Installing go-mod-upgrade ...${RESET}"
39-
go install github.com/oligot/go-mod-upgrade@latest || true
40+
go install github.com/oligot/go-mod-upgrade@latest
4041

4142
rm -rf "$(go env GOPATH)/.cache/go-build"
4243
echo -e "${BLUE}${GREEN}Tools install completed${RESET}"

0 commit comments

Comments
 (0)