Created
September 10, 2016 02:52
-
-
Save nacyot/e753b663e9e90cbeeb93b0906e79df8f to your computer and use it in GitHub Desktop.
packer example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [{ | |
"type": "docker", | |
"image": "ubuntu:14.04", | |
"export_path": "nacyot-ubuntu-wget.tar" | |
}], | |
"provisioners": [{ | |
"type": "shell", | |
"inline": [ | |
"apt-get update", | |
"apt-get install -y wget" | |
] | |
}], | |
"post-processors": [{ | |
"type": "docker-import", | |
"repository": "nacyot/ubuntu", | |
"tag": "wget" | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment