Skip to content

Commit 044ddd4

Browse files
committed
Update go 1.25 for test
1 parent 4f8435d commit 044ddd4

10 files changed

Lines changed: 17 additions & 19 deletions

File tree

github-tests/Dockerfile/docker-from-docker-non-root/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.3-alpine3.18 as builder
1+
FROM golang:1.25-alpine as builder
22

33
# Install certs, git, and mercurial
44
# RUN apk add --no-cache ca-certificates git build-base
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module example.com/foo
22

3-
go 1.21
3+
go 1.25
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
go get github.com/go-delve/delve/cmd/[email protected]
1+
# --> Delve debugger
2+
go install github.com/go-delve/delve/cmd/[email protected]
23
# --> Go language server
3-
go get golang.org/x/tools/[email protected] \
4-
# --> Go symbols and outline for go to symbol support and test support
5-
go get github.com/acroca/[email protected] && go get github.com/ramya-rao-a/go-outline@7182a932836a71948db4a81991a494751eccfe77 \
4+
go install golang.org/x/tools/[email protected]
65
# --> GolangCI-lint
7-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
6+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5

github-tests/Dockerfile/docker-from-docker-root/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.3-alpine3.18 as builder
1+
FROM golang:1.25-alpine as builder
22

33
# Install certs, git, and mercurial
44
# RUN apk add --no-cache ca-certificates git build-base
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module example.com/foo
22

3-
go 1.21
3+
go 1.25
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
go get github.com/go-delve/delve/cmd/[email protected]
1+
# --> Delve debugger
2+
go install github.com/go-delve/delve/cmd/[email protected]
23
# --> Go language server
3-
go get golang.org/x/tools/[email protected] \
4-
# --> Go symbols and outline for go to symbol support and test support
5-
go get github.com/acroca/[email protected] && go get github.com/ramya-rao-a/go-outline@7182a932836a71948db4a81991a494751eccfe77 \
4+
go install golang.org/x/tools/[email protected]
65
# --> GolangCI-lint
7-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
6+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5

github-tests/Dockerfile/feature-docker-from-docker/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.234.0/containers/go/.devcontainer/base.Dockerfile
22

33
# [Choice] Go version (use -bullseye variants on local arm64/Apple Silicon): 1, 1.16, 1.17, 1-bullseye, 1.16-bullseye, 1.17-bullseye, 1-buster, 1.16-buster, 1.17-buster
4-
ARG VARIANT="1.18-bullseye"
5-
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
4+
ARG VARIANT="1.25-bookworm"
5+
FROM mcr.microsoft.com/vscode/devcontainers/go:2-${VARIANT}
66

77
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
88
ARG NODE_VERSION="none"

github-tests/Dockerfile/feature-docker-from-docker/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Update the VARIANT arg to pick a version of Go: 1, 1.18, 1.17
99
// Append -bullseye or -buster to pin to an OS version.
1010
// Use -bullseye variants on local arm64/Apple Silicon.
11-
"VARIANT": "1.18-bullseye",
11+
"VARIANT": "1.25-bookworm",
1212
// Options
1313
"NODE_VERSION": "none"
1414
},

github-tests/Dockerfile/feature-docker-from-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.3-alpine3.18 as builder
1+
FROM golang:1.25-alpine as builder
22

33
# Install certs, git, and mercurial
44
# RUN apk add --no-cache ca-certificates git build-base
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module example.com/foo
22

3-
go 1.21
3+
go 1.25

0 commit comments

Comments
 (0)