Skip to content

Instantly share code, notes, and snippets.

@hfm
Created April 5, 2017 20:28
Show Gist options
  • Save hfm/c92ab34332be46ce95c5177f5657c33d to your computer and use it in GitHub Desktop.
Save hfm/c92ab34332be46ce95c5177f5657c33d to your computer and use it in GitHub Desktop.
{
"builders":[{
"type": "docker",
"image": "ubuntu",
"commit": true
}],
"provisioners":[
{
"type": "shell",
"inline": [
"apt-get -qq -y update",
"apt-get -qq -y install curl"
]
}
],
"post-processors": [{
"type": "docker-tag",
"repository": "packer-sample",
"tag": "0.1"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment