diff --git a/images/terraform-ci/README.md b/images/terraform-ci/README.md index 3a17439..e3a6502 100644 --- a/images/terraform-ci/README.md +++ b/images/terraform-ci/README.md @@ -1,12 +1,17 @@ # Terraform CI Image -Image Docker pour les pipelines CI/CD Terraform. +Image Docker minimale basée sur Alpine pour les pipelines CI/CD Terraform. ## Contenu -- **Terraform** : 1.5.7 -- **tflint** : 0.54.0 -- **Outils** : git, curl, bash, jq +| Outil | Version | +|-------|---------| +| Base | Alpine 3.20 | +| Terraform | 1.5.7 | +| tflint | 0.54.0 | +| git, curl, bash, jq | latest | + +**Taille estimée** : ~60-70 MB ## Utilisation @@ -30,4 +35,18 @@ jobs: ```bash docker build -t terraform-ci:latest . + +# Vérifier la taille +docker images terraform-ci:latest +``` + +## Personnalisation + +Les versions sont configurables via build args : + +```bash +docker build \ + --build-arg TERRAFORM_VERSION=1.6.0 \ + --build-arg TFLINT_VERSION=0.55.0 \ + -t terraform-ci:custom . ```