docs: update README for alpine-based image
Some checks failed
Build and Push Docker Images / detect-changes (push) Failing after 6s
Build and Push Docker Images / build (push) Has been skipped

This commit is contained in:
2025-12-07 17:53:06 +00:00
parent d1173e6254
commit 6f4b8a203f

View File

@@ -1,12 +1,17 @@
# Terraform CI Image # 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 ## Contenu
- **Terraform** : 1.5.7 | Outil | Version |
- **tflint** : 0.54.0 |-------|---------|
- **Outils** : git, curl, bash, jq | Base | Alpine 3.20 |
| Terraform | 1.5.7 |
| tflint | 0.54.0 |
| git, curl, bash, jq | latest |
**Taille estimée** : ~60-70 MB
## Utilisation ## Utilisation
@@ -30,4 +35,18 @@ jobs:
```bash ```bash
docker build -t terraform-ci:latest . 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 .
``` ```