I need to run docker build within the AWS environment. I am using AWS Lambda service (using python 3.7) to download dockerfile from aws code commit. I do not want to use Jenkins or any servers outside AWS.
What are the options? I was thinking of calling boto3 library from Lambda function, spin up a micro ec2 instance with docker image pre-built, run remote command to run docker build and get the image output.
Wondering if there is any quicker or simpler way to do this than using ec2 instance.
Appreciate your assistance.