-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
I have attempted to use this module but am getting this error:
==> docker: Running post-processor: docker-dockerfile
Build 'docker' errored: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type: packer.docker
Can only tag from Docker builder artifacts.
▽
==> Some builds didn't complete successfully and had errors:
--> docker: 1 error(s) occurred:
* Post-processor failed: Unknown artifact type: packer.docker
Can only tag from Docker builder artifacts.
==> Builds finished but no artifacts were created.
My build looks like this:
{
"builders":[{
"type": "docker",
"image": "frodopwns/macrobase",
"export_path": "image.tar",
"volumes": {
"/etc/ansible": "/etc/ansible",
"/etc/ansible": "/etc/ansible",
"/root/.ssh": "/root/.ssh"
},
"run_command": ["-d", "-i", "-t", "{{.Image}}", "/bin/bash"]
}],
"provisioners":[
{
"type": "ansible-local",
"playbook_file": "provisioning/local.yml",
"role_paths": [
"provisioning/roles/manage_site"
],
"host_vars": "provisioning/host_vars",
"extra_arguments": ["--extra-vars 'test_var=muahahahah'", "-vvvv"]
}
],
"post-processors": [
{
"type": "docker-dockerfile",
"entrypoint": ["/bin/bash", "/start.sh"],
"expose": [80]
}
]
}Packer version: 0.8.6
I followed your instructions which were pretty clear until the part about putting the binary file in the "packer" directory. My packer files are all in /usr/local/bin at the moment so I put it in there...Is this wrong?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels