Skip to content

Commit 33c41a9

Browse files
committed
upgrade to Go 1.23
1 parent f7065ca commit 33c41a9

File tree

4 files changed

+76
-89
lines changed

4 files changed

+76
-89
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine3.20 AS build
1+
FROM golang:1.23-alpine3.20 AS build
22
WORKDIR /app
33
COPY . .
44
RUN env CGO_ENABLED=0 GOBIN=/build go install .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This program is written in Go.
1414
You can compile and install this program with:
1515

1616
```bash
17-
go install github.com/yoursunny/ndpresponder@main
17+
env CGO_ENABLED=0 go install github.com/yoursunny/ndpresponder@main
1818
```
1919

2020
This program is also available as a Docker container:

go.mod

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
module github.com/yoursunny/ndpresponder
22

3-
go 1.22
3+
go 1.23
44

55
require (
6-
github.com/fsouza/go-dockerclient v1.11.0
7-
github.com/gopacket/gopacket v1.2.0
8-
github.com/urfave/cli/v2 v2.27.2
9-
github.com/vishvananda/netlink v1.2.1-beta.2
6+
github.com/fsouza/go-dockerclient v1.12.0
7+
github.com/gopacket/gopacket v1.3.1
8+
github.com/urfave/cli/v2 v2.27.5
9+
github.com/vishvananda/netlink v1.3.0
1010
go.uber.org/zap v1.27.0
1111
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
12-
golang.org/x/net v0.26.0
13-
golang.org/x/sys v0.21.0
12+
golang.org/x/net v0.31.0
13+
golang.org/x/sys v0.27.0
1414
)
1515

1616
require (
17-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
18-
github.com/Microsoft/go-winio v0.6.1 // indirect
19-
github.com/containerd/containerd v1.6.26 // indirect
17+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
18+
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
19+
github.com/Microsoft/go-winio v0.6.2 // indirect
2020
github.com/containerd/log v0.1.0 // indirect
21-
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
22-
github.com/docker/docker v25.0.4+incompatible // indirect
23-
github.com/docker/go-connections v0.4.0 // indirect
21+
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
22+
github.com/docker/docker v27.3.1+incompatible // indirect
23+
github.com/docker/go-connections v0.5.0 // indirect
2424
github.com/docker/go-units v0.5.0 // indirect
2525
github.com/gogo/protobuf v1.3.2 // indirect
26-
github.com/klauspost/compress v1.15.9 // indirect
26+
github.com/klauspost/compress v1.17.11 // indirect
27+
github.com/moby/docker-image-spec v1.3.1 // indirect
2728
github.com/moby/patternmatcher v0.6.0 // indirect
28-
github.com/moby/sys/sequential v0.5.0 // indirect
29-
github.com/moby/sys/user v0.1.0 // indirect
30-
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
29+
github.com/moby/sys/sequential v0.6.0 // indirect
30+
github.com/moby/sys/user v0.3.0 // indirect
31+
github.com/moby/sys/userns v0.1.0 // indirect
32+
github.com/moby/term v0.5.0 // indirect
3133
github.com/morikuni/aec v1.0.0 // indirect
3234
github.com/opencontainers/go-digest v1.0.0 // indirect
33-
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b // indirect
35+
github.com/opencontainers/image-spec v1.1.0 // indirect
3436
github.com/pkg/errors v0.9.1 // indirect
3537
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3638
github.com/sirupsen/logrus v1.9.3 // indirect
37-
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect
38-
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 // indirect
39-
go.uber.org/multierr v1.10.0 // indirect
40-
golang.org/x/mod v0.10.0 // indirect
41-
golang.org/x/tools v0.9.4-0.20230601214343-86c93e8732cc // indirect
39+
github.com/vishvananda/netns v0.0.5 // indirect
40+
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
41+
go.uber.org/multierr v1.11.0 // indirect
4242
)

0 commit comments

Comments
 (0)