Skip to content

Commit 16c8c96

Browse files
committed
use root
1 parent 7ef5b18 commit 16c8c96

File tree

2 files changed

+3
-44
lines changed

2 files changed

+3
-44
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ endif
271271

272272
HTTPS_GIT := https://github.com/crypto-org-chain/cronos.git
273273
protoVer=0.14.0
274-
protoImageName=cosmossdk-proto
275-
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user root $(protoImageName)
274+
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
275+
protoImage=$(DOCKER) run --rm -v "$(CURDIR)":/workspace --workdir /workspace --user root $(protoImageName)
276276

277277
# ------
278278
# NOTE: If you are experiencing problems running these commands, try deleting
@@ -281,8 +281,7 @@ protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --use
281281
proto-all: proto-format proto-lint proto-gen
282282

283283
proto-gen:
284-
@echo "Generating Protobuf files ${CURDIR}"
285-
$(DOCKER) build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools"
284+
@echo "Generating Protobuf files"
286285
$(protoImage) sh ./scripts/protocgen.sh
287286

288287
proto-lint:

contrib/devtools/Dockerfile

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)