Improve Docker image
- Debian 11 + locked Python version
- Bump kaniko to
1.8.1
- Non-root user
nomadic
- Upgrade base image
-
git
from Debian backports to get a more recent version - Minimize layers (single
COPY
statement with.dockerignore
file)
Docker image to reuse in https://gitlab.com/nomadic-labs/iac/terraform/tf-aws-margebot/ instead of building from scratch
Edited by David Dumas