Update packer to 1.3.2.
Details
Details
- Reviewers
DataDrake - Group Reviewers
Triage Team - Commits
- R4370:90a7b8a8b18e: Update packer to 1.3.2
- Created build template with docker builder, named as docker.json:
{
"builders": [
{
"type": "docker",
"image": "ubuntu",
"commit": true
}
],
"provisioners": [
{
"inline": [
"echo hello"
],
"type": "shell"
}
]
}- Run packer validate docker.json to confirm template is valid.
- Run packer build docker.json builds succesfully:
docker output will be in this color.
==> docker: Creating a temporary directory for sharing data...
==> docker: Pulling Docker image: ubuntu
docker: Using default tag: latest
docker: latest: Pulling from library/ubuntu
docker: Digest: sha256:29934af957c53004d7fb6340139880d23fb1952505a15d69a03af0d1418878cb
docker: Status: Image is up to date for ubuntu:latest
==> docker: Starting docker container...
docker: Run command: docker run -v /home/mike/.packer.d/tmp/packer-docker019511421:/packer-files -d -i -t ubuntu /bin/bash
docker: Container ID: 45bfb419fdd11b056c9ad5fbea3c171ac67bc45162cdb74fd4290499e3b8b87f
==> docker: Using docker communicator to connect: 172.17.0.2
==> docker: Provisioning with shell script: /tmp/packer-shell401814698
docker: hello
==> docker: Committing the container
docker: Image ID: sha256:1bbd2ec6fb5703ca03a3cb22ee0d3d1c008669364befab648593aa21c16aa4b2
==> docker: Killing the container: 45bfb419fdd11b056c9ad5fbea3c171ac67bc45162cdb74fd4290499e3b8b87f
Build 'docker' finished.
==> Builds finished. The artifacts of successful builds are:
--> docker: Imported Docker image: sha256:1bbd2ec6fb5703ca03a3cb22ee0d3d1c008669364befab648593aa21c16aa4b2Diff Detail
Diff Detail
- Repository
- R4370 packer
- Lint
Lint Not Applicable - Unit
Tests Not Applicable