-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Description
Hello,
I downloaded your repo and ran from tests/test-func
directory and got the error above:
docker run --rm \
-u $(id -u):$(id -g) \
-v ${PWD}:/code \
-v ${HOME}/.cargo/registry:/cargo/registry \
-v ${HOME}/.cargo/git:/cargo/git \
softprops/lambda-rust
/usr/local/bin/build.sh: line 35: //.cargo/env: No such file or directory
There's a workaround for it:
https://www.gitmemory.com/issue/softprops/lambda-rust/84/784833248:
I also just hit this issue but was able to resolve it by building the container from master.
Try cloning the repo and just running make build in the root of the repo. Annoyingly this means that the fix will only apply to your local docker install so won't help if you are using CICD. For that case you will need to push to a container registry and use your repository until a fixed build is pushed to the softprops repo.
Please correct me where I am wrong. But it's a bug if we have to build the project ourselves, right?
Metadata
Metadata
Assignees
Labels
No labels