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 GitHub
parent a72fb2fbad
commit ac49ea8bb7

View File

@@ -94,6 +94,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