Commit f9bc19e
committed
fix: Makefile docker build command
Note that when we run `make docker-build` it is not working.
It fails with the error:
Error:
) $ make build docker-build
/Users/camiladeomacedo/go/bin/controller-gen-v0.16.1 rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/base/crd/bases output:rbac:artifacts:config=config/base/rbac
/Users/camiladeomacedo/go/bin/controller-gen-v0.16.1 object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet -tags 'containers_image_openpgp' ./...
This change ensures that the docker build will build the binary according to the local architecture and not for a specific ARCH. It simplifies the Makefile and logic to build.1 parent 2cc885a commit f9bc19e
2 files changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 267 | | |
280 | 268 | | |
281 | 269 | | |
282 | 270 | | |
283 | | - | |
284 | | - | |
| 271 | + | |
| 272 | + | |
285 | 273 | | |
286 | 274 | | |
287 | 275 | | |
| |||
0 commit comments