Fix make docker target

This commit is contained in:
Carlos de Paula 2020-06-22 19:29:51 -03:00
parent 5c772218d9
commit c2e91b0ea9

View File

@ -19,7 +19,7 @@ manifests: $(JSONNET_BIN) ## Builds the manifests
./scripts/build.sh main.jsonnet $(JSONNET_BIN)
docker: ## Builds the manifests in a Docker container to avoid installing pre-requisites (Golang, Jsonnet, etc)
docker run -it --rm -v $(PWD):/work -w /work --rm golang make vendor && make
docker run -it --rm -v $(PWD):/work -w /work --rm golang bash -c "make vendor && make"
update_libs: $(JB_BINARY) ## Updates vendor libs. Require a regeneration of the manifests
$(JB_BINARY) update