Makefile: always pull image in proto-gen-docker. (#5953)

The `proto-gen-docker` target didn't pull an updated Docker image, and would use a local image if present which could be outdated and produce wrong results.
This commit is contained in:
Erik Grinaker
2021-01-23 17:46:53 +01:00
committed by Marko
parent 3e41bb57d6
commit 98be3f2aab

View File

@@ -82,6 +82,7 @@ proto-gen:
.PHONY: proto-gen
proto-gen-docker:
@docker pull -q tendermintdev/docker-build-proto
@echo "Generating Protobuf files"
@docker run -v $(shell pwd):/workspace --workdir /workspace tendermintdev/docker-build-proto sh ./scripts/protocgen.sh
.PHONY: proto-gen-docker