Browse Source
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.
pull/5955/head
Erik Grinaker
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
Makefile
@ -94,6 +94,7 @@ proto-gen:
.PHONY : proto -gen
.PHONY : proto -gen
proto-gen-docker :
proto-gen-docker :
@docker pull -q tendermintdev/docker-build-proto
@echo "Generating Protobuf files"
@echo "Generating Protobuf files"
@docker run -v $( shell pwd ) :/workspace --workdir /workspace tendermintdev/docker-build-proto sh ./scripts/protocgen.sh
@docker run -v $( shell pwd ) :/workspace --workdir /workspace tendermintdev/docker-build-proto sh ./scripts/protocgen.sh
.PHONY : proto -gen -docker
.PHONY : proto -gen -docker