From 6f4b8a203f2d192f75297bee20980260090e542b Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Sun, 7 Dec 2025 17:53:06 +0000 Subject: [PATCH] docs: update README for alpine-based image --- images/terraform-ci/README.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) 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 . ```