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

Makefile: unset GOOS for get-envoy command #1088

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

kenjenkins
Copy link
Contributor

Summary

Ingress Controller can be built on macOS by running a command like

GOOS=linux make build && docker build . -t ingress-controller:dev

except that this will attempt to build and run the get-envoy command for Linux as well, which won't work. Let's update the Makefile 'envoy' target to unset the GOOS variable so that the get-envoy command is always built for the host OS.

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

Ingress Controller can be built on macOS by running a command like

  GOOS=linux make build && docker build . -t ingress-controller:dev

except that this will attempt to build and run the get-envoy command for
Linux as well, which won't work. Let's update the Makefile 'envoy'
target to unset the GOOS variable so that the get-envoy command is
always built for the host OS.
@kenjenkins kenjenkins requested a review from a team as a code owner January 16, 2025 21:18
@kenjenkins kenjenkins requested review from calebdoxsey and removed request for a team January 16, 2025 21:18
@kenjenkins kenjenkins added the ignore-changelog do not display in the changelog label Jan 17, 2025
@kenjenkins kenjenkins merged commit da10b08 into main Jan 17, 2025
8 checks passed
@kenjenkins kenjenkins deleted the kenjenkins/get-envoy-goos branch January 17, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-changelog do not display in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants