Skip to content
Snippets Groups Projects
Commit 025bcecb authored by Mickael Masquelin's avatar Mickael Masquelin
Browse files

feat(exemples-packer): Ajout template de base Ubuntu Jammy

parents
No related branches found
No related tags found
No related merge requests found
# Pull d'une image Ubuntu 22.04 LTS
source "docker" "ubuntu-formation-cnrs" {
image = "ubuntu:jammy"
commit = true
}
# Construire l'image "personnalisée"
build {
sources = [
"source.docker.ubuntu-formation-cnrs"
]
# Tag de l'image Docker créé
post-processors {
post-processor "docker-tag" {
repository = "local/ubuntu-formation-cnrs"
tags = [
"22.04.2",
"latest"
]
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment