aws / aws/aws-lambda-base-images
Please provide a `provided.empty` image for self-contained binaries
- Dominant language
- No language data
- Stars
- 777
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
For self-contained binaries that need no runtime environment whatsoever, please consider providing a `provided.empty` runtime, which contains absolutely nothing in it other than whatever files and empty directories are expected by the bits outside the runtime that invoke the runtime (e.g. mount points for mounted filesystems), and whose entry point is directly `/var/runtime/bootstrap` rather than `/lambda-entrypoint.sh` (to avoid needing even the tools to execute `/lambda-entrypoint.sh`).
Or, if invoking `/lambda-entrypoint.sh` is hardcoded elsewhere, `provided.empty` could ship a symlink `/lambda-entrypoint.sh` pointing to `/var/runtime/bootstrap`.
Contributor guide
Assessment
This issue has not been assessed yet.