27 lines
479 B
JSON
27 lines
479 B
JSON
|
{
|
||
|
"builders": [
|
||
|
{
|
||
|
"type": "digitalocean",
|
||
|
"image": "ubuntu-18-04-x64",
|
||
|
"region": "nyc1",
|
||
|
"size": "s-1vcpu-1gb",
|
||
|
"snapshot_name": "packer-nginx-{{timestamp}}",
|
||
|
"ssh_username": "root"
|
||
|
}
|
||
|
],
|
||
|
"provisioners": [
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"script": "scripts/dependencies.sh"
|
||
|
},
|
||
|
{
|
||
|
"type": "file",
|
||
|
"source": "files/nginx.conf"
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"script": "scripts/nginx.sh"
|
||
|
}
|
||
|
]
|
||
|
}
|