https://github.com/zpascal/aws-sam-cli-container
AWS SAM CLI inside an Alpine/ Distroless container
https://github.com/zpascal/aws-sam-cli-container
Last synced: 5 months ago
JSON representation
AWS SAM CLI inside an Alpine/ Distroless container
- Host: GitHub
- URL: https://github.com/zpascal/aws-sam-cli-container
- Owner: ZPascal
- License: apache-2.0
- Created: 2024-02-16T14:17:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T12:43:59.000Z (about 1 year ago)
- Last Synced: 2025-04-15T03:52:32.223Z (about 1 year ago)
- Language: Dockerfile
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS-SAM-CLI-Container
The repository includes an AWS SAM CLI inside an Alpine/ Distroless container. It's possible to interact with the AWS Serverless Application Model service and use e.g. the SAM CLI inside an isolated container environment.
## Usage
Please use the following command to start the AWS SAM CLI container and execute your corresponding commands. It's necessary to adapt the used image version e.g. `ghcr.io/zpascal/aws-sam-cli-container-pip:v1.152.0` or `ghcr.io/zpascal/aws-sam-cli-container:v1.152.0`. Please also adjust the optional volume/ file or folder mounts to use it inside the AWS SAM CLI container and execute the following command: `docker run -it --rm ghcr.io/zpascal/:v1.152.0 sam -v `.
## Different versions of the containers
### AWS SAM CLI container generic PIP version
This version is available by using the `ghcr.io/zpascal/aws-sam-cli-container-pip:v1.152.0` image. It is based on an `Alpine` container and includes the SAM CLI installed via pip.
### AWS SAM CLI container built from source ARM64 version
This version is available by using the `ghcr.io/zpascal/aws-sam-cli-container:v1.152.0` image. It is based on a Distroless `Debian` container for `ARM64` and includes the SAM CLI installed from the source.
### AWS SAM CLI container built from source X86-64 version
This version is available by using the `ghcr.io/zpascal/aws-sam-cli-container:v1.152.0` image. It is based on a Distroless `Debian` container from `X86-64` and includes the SAM CLI installed from the source.
## Contribution
If you would like to contribute something, have an improvement request, or want to make a change inside the code, please open a pull request.
## Support
If you need support, or you encounter a bug, please don't hesitate to open an issue.
## Donations
If you want to support my work, I ask you to take an unusual action inside the open source community. Donate the money to a non-profit organization like Doctors Without Borders or the Children's Cancer Aid. I will continue to build tools because I like them, and I am passionate about developing and sharing applications.
## License
This product is available under the Apache 2.0 license.