Instantly share code, notes, and snippets.

Embed
What would you like to do?
Packer build output
$ ~/bin/packer build redis.json
docker output will be in this color.
==> docker: Creating a temporary directory for sharing data...
==> docker: Pulling Docker image: debian:jessie-slim
docker: Trying to pull repository registry.fedoraproject.org/debian ...
docker: Trying to pull repository registry.access.redhat.com/debian ...
docker: Trying to pull repository docker.io/library/debian ...
docker: sha256:3ee647b606faceb309012fc6ff112236811ff5c9354e796c34aa5b141bae79b2: Pulling from docker.io/library/debian
docker: Digest: sha256:3ee647b606faceb309012fc6ff112236811ff5c9354e796c34aa5b141bae79b2
docker: Status: Image is up to date for docker.io/debian:jessie-slim
==> docker: Starting docker container...
docker: Run command: docker run -v /home/avd/.packer.d/tmp/packer-docker802894799:/packer-files -d -i -t debian:jessie-slim /bin/bash
docker: Container ID: 2cdd06d46d13a1721c5fc5be5125f2112eefea2401ae1430a8ed9bf304dce05d
==> docker: Provisioning with Ansible...
==> docker: Executing Ansible: ansible-playbook --extra-vars packer_build_name=docker packer_builder_type=docker -i /tmp/packer-provisioner-ansible808355646 /home/avd/dev/redis-packer/provision.yml --private-key /tmp/ansible-key857638555
docker:
docker: PLAY [Provision Python] ********************************************************
docker:
docker: TASK [Boostrap python] *********************************************************
docker: changed: [default]
docker:
docker: PLAY [Provision Redis] *********************************************************
docker:
docker: TASK [Gathering Facts] *********************************************************
docker: ok: [default]
docker:
docker: TASK [alexdzyoba.redis : Create group] *****************************************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Create user] ******************************************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Install build deps] ***********************************
docker: changed: [default] => (item=ca-certificates)
docker: changed: [default] => (item=wget)
docker: changed: [default] => (item=gcc)
docker: ok: [default] => (item=libc6-dev)
docker: changed: [default] => (item=make)
docker:
docker: TASK [alexdzyoba.redis : Create directory for Redis sources] *******************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Download and verify Redis release archive] ************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Unpack Redis release archive] *************************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Disable Redis protected mode in server.h] *************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Compile Redis sources] ********************************
docker: changed: [default]
docker:
docker: TASK [alexdzyoba.redis : Remove build deps] ************************************
docker: changed: [default] => (item=['ca-certificates', 'wget', 'gcc', 'libc6-dev', 'make'])
docker:
docker: TASK [alexdzyoba.redis : Remove sources] ***************************************
docker: changed: [default]
docker:
docker: TASK [Create workdir] **********************************************************
docker: changed: [default]
docker:
docker: TASK [Put runtime programs] ****************************************************
docker: changed: [default] => (item=gosu)
docker: changed: [default] => (item=docker-entrypoint.sh)
docker:
docker: PLAY [Container cleanup] *******************************************************
docker:
docker: TASK [Remove python] ***********************************************************
docker: changed: [default]
docker:
docker: TASK [Remove apt lists] ********************************************************
docker: changed: [default]
docker:
docker: PLAY RECAP *********************************************************************
docker: default : ok=16 changed=15 unreachable=0 failed=0
docker:
==> docker: Committing the container
docker: Image ID: sha256:05c7aebe901b02cf2db08d885a3d2fe4b380d16c762a90af6ed21703bea3b341
==> docker: Killing the container: 2cdd06d46d13a1721c5fc5be5125f2112eefea2401ae1430a8ed9bf304dce05d
==> docker: Running post-processor: docker-tag
docker (docker-tag): Tagging image: sha256:05c7aebe901b02cf2db08d885a3d2fe4b380d16c762a90af6ed21703bea3b341
docker (docker-tag): Repository: docker.io/alexdzyoba/redis-packer:latest
Build 'docker' finished.
==> Builds finished. The artifacts of successful builds are:
--> docker: Imported Docker image: sha256:05c7aebe901b02cf2db08d885a3d2fe4b380d16c762a90af6ed21703bea3b341
--> docker: Imported Docker image: docker.io/alexdzyoba/redis-packer:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment