Bug: "sam build - TypeError" When building Docker Image from documentation #7186
Labels
blocked/close-if-inactive
Blocked for >14 days with no response, will be closed if still inactive after 7 days
blocked/more-info-needed
More info is needed from the requester. If no response in 14 days, it will become stale.
question
Description:
I am trying to build a Docker image for AWS SAM. The issue is that the code from the AWS SAM documentation doesn't work and crashes.
Steps to reproduce:
Go here and marvel at the four year old documentation which talks about a
sam init
that no longer supports docker: https://aws.amazon.com/blogs/compute/using-container-image-support-for-aws-lambda-with-aws-sam/Create these three files:
app.py:
Dockerfile:
template.yml:
Observed result:
Expected result:
It to build as the documentation states.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The text was updated successfully, but these errors were encountered: