Open
Description
openedon May 17, 2024
I'm trying to follow the guide Generating Common Contracts using Docker image
docker run --rm \
-v ./web3-data:/data \
gochain/web3 \
generate contract erc20 --name "Test Tokens" --symbol TEST
But get the error
2024/05/17 09:29:12 Cloning OpenZeppelin v4.6.0...
ERROR: Cloning finished with error: exec: "git": executable file not found in $PATH
And we can check that git executable is missing in the Docker image
# Check sh
docker run -it --entrypoint /bin/sh gochain/web3 -c "which sh"
/bin/sh
# Check git
docker run -it --entrypoint /bin/sh gochain/web3 -c "which git"
# Check interactively
docker run -it --entrypoint /bin/sh gochain/web3
/app # which git
/app #
/app # git
/bin/sh: git: not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels