Skip to content

Commit

Permalink
maint: update target go version 1.20 -> 1.21 (#239)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?

Current benefit: this removes a warning from my macOS dev environment
during builds.

    ld: warning:
      '/private/var/folders/c_/shenanigans/T/go-link-2592252367/go.o'
      has malformed LC_DYSYMTAB, expected 127 undefined symbols to
      start at index 56715, found 133 undefined symbols starting at
      index 84

Newer Go is better Go, right?

---------

Co-authored-by: Mike Goldsmth <goldsmith.mike@gmail.com>
  • Loading branch information
robbkidd and MikeGoldsmith committed Sep 26, 2023
1 parent 617dea4 commit 2cb46ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.20.7
golang 1.21.1
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 as base
FROM golang:1.21 as base
RUN apt update -yq && apt install -yq make libpcap-dev
WORKDIR /src
COPY go.* .
Expand All @@ -12,4 +12,4 @@ COPY --from=base /src/hny-network-agent /bin/hny-network-agent
ENTRYPOINT [ "/bin/hny-network-agent" ]

FROM base as test
RUN make test
RUN make test
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/honeycombio/honeycomb-network-agent

go 1.20
go 1.21

require (
github.com/gopacket/gopacket v1.1.1
Expand Down

0 comments on commit 2cb46ed

Please sign in to comment.