Open soulmachine opened 1 year ago
I run the following command:
docker run -it --rm \ -e SCP_PRIVKEY=ff701d781f43ce106f72dc26a46b6a83e053b5d07bb3d4ceab79c91ca822a66b \ -e BOLOS_SDK=/project/deps/nanos-secure-sdk \ -e BOLOS_ENV=/opt/bolos \ -u 5178 \ -v $(pwd):/project \ -e SUPPORT_SR25519= \ -e SUBSTRATE_PARSER_FULL= \ -e DISABLE_PREVIOUS= \ -e DISABLE_CURRENT= \ -e COIN= \ -e APP_TESTING= \ zondax/builder-bolos:latest bash
It will print an error on the screen:
/tmp/entrypoint.sh: line 10: //.cargo/env: No such file or directory
It seems the shell script /tmp/entrypoint.sh can not get ther $HOME environment variable.
/tmp/entrypoint.sh
$HOME
Adding a -e HOME=/home/zondax in the command will solve the issue, but I think there might be a better solution
-e HOME=/home/zondax
it should be enough removing that $HOME, I'd say. That is going to be the WORKDIR
I run the following command:
It will print an error on the screen:
It seems the shell script
/tmp/entrypoint.sh
can not get ther$HOME
environment variable.