Created
July 13, 2016 20:51
-
-
Save lily-mara/11734a70dd9845d74e7a96db27ab3ee5 to your computer and use it in GitHub Desktop.
This file contains 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": "frolvlad/alpine-python3", | |
"export_path": "image.tar" | |
} | |
], | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline_shebang": "#!/bin/sh -xe", | |
"inline": [ | |
"pip install ansible" | |
] | |
} | |
] | |
} |
This file contains 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
[1;32mdocker output will be in this color.[0m | |
[1;32m==> docker: Creating a temporary directory for sharing data...[0m | |
[1;32m==> docker: Pulling Docker image: frolvlad/alpine-python3[0m | |
[0;32m docker: Using default tag: latest[0m | |
[0;32m docker: latest: Pulling from frolvlad/alpine-python3[0m | |
[0;32m docker: Digest: sha256:ee5c821d27e92a15886f5ba565babfbe7f86c988b5dd50e47580eb2297bd1ddd[0m | |
[0;32m docker: Status: Image is up to date for frolvlad/alpine-python3:latest[0m | |
[1;32m==> docker: Starting docker container...[0m | |
[0;32m docker: Run command: docker run -v /Users/nm46057/.packer.d/tmp/packer-docker191164204:/packer-files -d -i -t frolvlad/alpine-python3 /bin/bash[0m | |
[1;31m==> docker: Error running container: Docker exited with a non-zero exit status. | |
==> docker: Stderr: docker: Error response from daemon: oci runtime error: exec: "/bin/bash": stat /bin/bash: no such file or directory. | |
==> docker:[0m | |
[1;31mBuild 'docker' errored: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: oci runtime error: exec: "/bin/bash": stat /bin/bash: no such file or directory. | |
[0m | |
==> Some builds didn't complete successfully and had errors: | |
--> docker: Error running container: Docker exited with a non-zero exit status. | |
Stderr: docker: Error response from daemon: oci runtime error: exec: "/bin/bash": stat /bin/bash: no such file or directory. | |
==> Builds finished but no artifacts were created. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment