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