mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
always rebuild with GOOS=linux when building container image
This commit is contained in:
parent
07221f24af
commit
e5a791a26a
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -8,6 +8,7 @@ build:
|
|||
go build github.com/coreos/prometheus-operator/cmd/operator
|
||||
|
||||
container:
|
||||
GOOS=linux $(MAKE) build
|
||||
docker build -t $(REPO):$(TAG) .
|
||||
|
||||
.PHONY: all build container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue