mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 23:41:41 -04:00
add build sources to hcl examples
This commit is contained in:
@@ -61,7 +61,7 @@ source "docker" "example" {
|
||||
|
||||
build {
|
||||
sources = ["source.docker.example"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</Tab>
|
||||
@@ -92,6 +92,10 @@ source "docker" "example" {
|
||||
image = "ubuntu"
|
||||
commit = true
|
||||
}
|
||||
|
||||
build {
|
||||
sources = ["source.docker.example"]
|
||||
}
|
||||
```
|
||||
|
||||
</Tab>
|
||||
@@ -429,6 +433,10 @@ source "docker" "windows" {
|
||||
windows_container = true
|
||||
commit = true
|
||||
}
|
||||
|
||||
build {
|
||||
sources = ["source.docker.example"]
|
||||
}
|
||||
```
|
||||
|
||||
</Tab>
|
||||
|
||||
Reference in New Issue
Block a user