Skip to content

Latest commit

 

History

History
executable file
·
23 lines (15 loc) · 702 Bytes

README.md

File metadata and controls

executable file
·
23 lines (15 loc) · 702 Bytes

AWS SAM CLI in docker

AWS SAM CLI.

Running

Use the following volumes:

  • /home/node/work should be mounted with your working directory
  • /home/node/.aws should be mounted with your aws creds

By default, we run with uid of 1000. Change the user if you are not uid 1000.

docker run --rm -v "${HOME}/.aws:/home/node/.aws:ro" -v "$(pwd):/home/node/work" ratchetdesigns/sam-cli:1.18.2 <sam arguments>

Building

Choose the version of the SAM CLI and the AWS CLI you want from pip and set the versions in build.sh.

./build.sh