Containers

Improve container image builds

Create smaller, traceable images with a controlled build process.

Pin inputs

Use a trusted base image and pin dependencies. Record the source commit and build provenance so deployed artifacts can be traced.

Reduce runtime exposure

Use multi-stage builds where appropriate and run as a non-root user. Include only runtime dependencies and avoid placing credentials in image layers.

Verify continuously

Scan images and dependencies, review findings in context, and rebuild when base images receive security updates. Test the final image before deployment.