You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was trying out the new sam build option and got this far:
❯ sam build --use-container
Starting Build inside a container
Building codeuri: /path/to/cloudformation-guard runtime: provided.al2 metadata: {'BuildMethod': 'makefile'} architecture: x86_64 functions: CloudFormationGuardLambda
Fetching public.ecr.aws/sam/build-provided.al2:latest-x86_64 Docker container image........................................................................................................................................................................................................................................................................................................................................................................................................................................................
Mounting /path/to/cloudformation-guard as /tmp/samcli/source:ro,delegated, inside runtime container
Build Failed
Running CustomMakeBuilder:CopySource
Running CustomMakeBuilder:MakeBuild
Current Artifacts Directory : /tmp/samcli/artifacts
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source /root/.cargo/env && rustup target add x86_64-unknown-linux-musl
Error: CustomMakeBuilder:MakeBuild - Make Failed: curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
/bin/sh: /root/.cargo/env: No such file or directory
make: *** [build-CloudFormationGuardLambda] Error 1
Looks like something is wrong with certs in the docker image. I can run curl on my computer and it works fine, EG this works:
I'm going to close out this issue since as you reported it seems to be more an issue with your own environment. Please feel free to reopen if you think otherwise.
Describe the issue
Was trying out the new
sam build
option and got this far:Looks like something is wrong with certs in the docker image. I can run curl on my computer and it works fine, EG this works:
Operating System:
MacOS
OS Version
13.4.1
The text was updated successfully, but these errors were encountered: