Created
September 22, 2016 22:41
-
-
Save mwhooker/503a9f2b7bfb394ea5566ee31a72f4b6 to your computer and use it in GitHub Desktop.
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": [ | |
{ | |
"export_path": "image.tar", | |
"image": "alpine", | |
"run_command": [ | |
"-d", | |
"-i", | |
"-t", | |
"{{.Image}}", | |
"/bin/sh" | |
], | |
"type": "docker" | |
} | |
], | |
"provisioners": [ | |
{ | |
"inline": [ | |
"echo foo > /root/foo" | |
], | |
"type": "shell" | |
}, | |
{ | |
"destination": "/tmp/foo", | |
"direction": "download", | |
"source": "/root/", | |
"type": "file" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment