mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-25 17:19:34 -05:00
16 lines
272 B
Terraform
16 lines
272 B
Terraform
|
|
resource "docker_image" "test" {
|
||
|
|
name = "ubuntu:11"
|
||
|
|
build {
|
||
|
|
path = "."
|
||
|
|
dockerfile = "Dockerfile"
|
||
|
|
force_remove = true
|
||
|
|
build_arg = {
|
||
|
|
test_arg = "kenobi"
|
||
|
|
}
|
||
|
|
label = {
|
||
|
|
test_label1 = "han"
|
||
|
|
test_label2 = "solo"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|