-
Notifications
You must be signed in to change notification settings - Fork 583
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
✨Remove vendor and Bazel #1076
✨Remove vendor and Bazel #1076
Conversation
5961f60
to
95c6060
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
aad7f98
to
76aad68
Compare
/assign @detiber |
go build -a -ldflags '-extldflags "-static"' \ | ||
-o manager sigs.k8s.io/cluster-api-provider-aws | ||
-o manager . | ||
|
||
# Copy the controller-manager into a thin image | ||
FROM gcr.io/distroless/static:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the docs here: https://github.com/GoogleContainerTools/distroless/blob/master/base/README.md#image-contents I suspect this is probably ok to support other architectures, but we should probably test to verify.
clusterctl: ## Build clusterctl binary. | ||
GOFLAGS="" go build -o bin/clusterctl ./vendor/sigs.k8s.io/cluster-api/cmd/clusterctl | ||
.PHONY: docker-build | ||
docker-build: generate lint-full ## Build the docker image for controller-manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are going to build multi-arch images we need to build an image for each arch and then we need to build a manifest-list image using either docker manifest create
or https://github.com/estesp/manifest-tool
76aad68
to
edeb65a
Compare
edeb65a
to
695d35c
Compare
Opened kubernetes/test-infra#14085 to rename the CI jobs |
767df5f
to
f2f8d96
Compare
a32ee16
to
5c1dbd0
Compare
Signed-off-by: Vince Prignano <[email protected]>
Signed-off-by: Vince Prignano <[email protected]>
Signed-off-by: Vince Prignano <[email protected]>
2cea9f8
to
6df8c2b
Compare
@detiber This should be good to go, apart from the multi-arch support which we can do soon after we figure it out in CAPI :) |
32000e0
to
0dc37af
Compare
Signed-off-by: Vince Prignano <[email protected]>
0dc37af
to
45d8280
Compare
/lgtm |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1015
Fixes #970
Fixes #989
Release note: