docs: update README for alpine-based image
This commit is contained in:
@@ -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 .
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user