Skip to content

Commit

Permalink
use root
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Apr 17, 2024
1 parent 7ef5b18 commit 16c8c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 44 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ endif

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

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

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

proto-lint:
Expand Down
40 changes: 0 additions & 40 deletions contrib/devtools/Dockerfile

This file was deleted.

0 comments on commit 16c8c96

Please sign in to comment.