You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
651 B

Index: src/github.com/open-policy-agent/opa/Makefile
--- src/github.com/open-policy-agent/opa/Makefile.orig 2018-10-26 06:47:59.000000000 +0200
+++ src/github.com/open-policy-agent/opa/Makefile 2018-10-26 06:51:40.057908000 +0200
@@ -9,8 +9,8 @@
GOARCH := $(shell go env GOARCH)
GOOS := $(shell go env GOOS)
-DOCKER_INSTALLED := $(shell hash docker 2>/dev/null && echo 1 || echo 0)
-DOCKER := docker
+DOCKER_INSTALLED := 0
+DOCKER := true
BIN := opa_$(GOOS)_$(GOARCH)
@@ -66,7 +66,7 @@
.PHONY: go-build
go-build: generate
- $(GO) build -o $(BIN) -ldflags $(LDFLAGS)
+ $(GO) build -v -o $(BIN) -ldflags $(LDFLAGS)
.PHONY: image
image: