All Amazon Linux 2 features are similar to their vscode-dev-containers counterparts. Instead of being limited to debian, redhat, and alpine ours work for Amazon Linux 2. This script is developed for AWS SAM's lambda build image, but should work for Amazon Linux 2 in general. Examples below use SAM's Node.js Lambda build image.
- Common Amazon Linux 2 Utilities (common-amzn)
- Docker-in-Docker Amazon Linux 2 (docker-in-docker-amzn)
If you want to run the tests locally, this command should work.
./bin/test
Need some interactive feedback? Use the bin/console
script to load up an image with this directory shared in /var/task
. The last argument is any image name:tag.
$ ./bin/console \
public.ecr.aws/sam/build-nodejs16.x