Feature Description
Build minimal Docker image using Alpine Linux base with multi-stage build pattern for optimal size and security.
Use Case
AWS Marketplace customers need secure, lightweight container images with fast download and startup times for cost-effective execution.
Proposed Solution
- Alpine Linux base image (~5MB)
- Multi-stage build: Build Stage (full dev environment) and Runtime Stage (minimal dependencies)
- Non-root user execution (UID 1000)
- Read-only root filesystem capability
- Target ~20MB total image size
Alternatives Considered
- Distroless base
- Ubuntu base
- Single stage build
Additional Context
- Smaller images for Marketplace distribution
- No build tools in production image
- Cached layer optimization
Feature Description
Build minimal Docker image using Alpine Linux base with multi-stage build pattern for optimal size and security.
Use Case
AWS Marketplace customers need secure, lightweight container images with fast download and startup times for cost-effective execution.
Proposed Solution
Alternatives Considered
Additional Context