(aws-lambda-python) docker build is not working
See original GitHub issueMaybe the problem is [aws-lambda-nodejs] docker build is not working · Issue #10881 · aws/aws-cdk Python version.
Reproduction Steps
new PythonFunction(this, "handler");
cdk deploy FooStack
What did you expect to happen?
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "bash": executable file not found in $PATH: unknown.
What actually happened?
deploy is successed.
Environment
- CDK CLI Version : 1.85.0 (build 5f44668)
- Framework Version:
- Node.js Version: v15.5.1
- OS : Linux strawberry 5.4.80-gentoo-r1 #3 SMP Thu Dec 3 14:57:38 JST 2020 x86_64 AMD Ryzen Threadripper 1950X 16-Core Processor AuthenticAMD GNU/Linux
- Language (Version): Python
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:28 (21 by maintainers)
Top Results From Across the Web
Deploy Python Lambda functions with container images
Deploy your Python Lambda function code as a container image using an AWS provided base image or the runtime interface client.
Read more >Getting error when trying to Build container image function ...
FROM public.ecr.aws/lambda/python:3.8 COPY app/app.py /app/ COPY ... When I run docker build myimage -t gag . i get the following error ...
Read more >Containerizing Python Apps for Lambda
If you have not already done so, you will have to: Install AWS CLI. Install Docker. Open an AWS account. When creating a...
Read more >some of the command from bash script is not running
I am running a docker image container in aws lambda (python3 env). From python handler function I am running as bash script which...
Read more >terraform-aws-modules/lambda/aws
Create, update, and publish AWS Lambda Function and Lambda Layer - see ... and many other SaaS for running Terraform do not have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hariseldon78
Same problem happens when building
PythonLambda
on Fedora 36. Error I was getting:Changing default
storage-driver
in/etc/docker/daemon.json
to"storage-driver": "overlay2"
fixes the issue.