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/6083/head
Erik Grinaker 4 years ago
committed by Marko
parent
commit
98be3f2aab
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Makefile

+ 1
- 0
Makefile View File

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


Loading…
Cancel
Save