Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build-cli-bin to use generated templates (#2341)
The `bin/build-cli-bin` script, intended to build a local `linkerd` cli binary, was compiling the binary configured to read template files out of the local machine's GOPATH. This change modifies `build-cli-bin` to build a `linkerd` binary the same way `docker-build-cli-bin` does. Specifically, by generating static template files for inclusion in the build, and adding the `-tags prod` flag to ensure those files are compiled in. Signed-off-by: Andrew Seigner <[email protected]>
- Loading branch information