Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade golang.org/x/net from v0.7.0 to v0.31.0 and update the buildx build just use one Dockerfile #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hurricane1988
Copy link

and google.golang.org/protobuf from v1.28.1 to v1.35.2; update the buildx build just use one Dockerfile

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Special notes for reviews

and google.golang.org/protobuf from v1.28.1 to v1.35.2;
update the buildx build just use one Dockerfile
golang.org/x/sys v0.5.0 // indirect
golang.org/x/term v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/sys v0.27.0 // indirect
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are indirect dependency required by package e.g. client-go, so it is not appropriate to change the indirect dependency. if the dependency version do bother you, you should upgrade the client-go package. the k8s and gateway-api dependency had been upgraded recently(#237), yet the changes are not release yet. so further upgrade can be schedule for future, can you submit an issue, about the package requirement in your environment?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. fix the vulnerability of golang.org/x/net CVE link: https://avd.aquasec.com/nvd/2022/cve-2022-27664/
  2. fix the vulnerability of golang.org/x/text CVE link: https://avd.aquasec.com/nvd/2021/cve-2021-38561/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -installsuffix cgo -a -o manager main.go
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why add installsuffix ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants