Page MenuHomeSolus

Update packer to 1.3.3
ClosedPublic

Authored by der_eismann on Dec 9 2018, 11:16 AM.
Tags
None
Referenced Files
F11065200: D4611.diff
Fri, Aug 11, 4:22 PM
F10889020: D4611.id11256.diff
Jun 27 2023, 12:12 PM
F10888382: D4611.id11293.diff
Jun 27 2023, 2:05 AM
F10884052: D4611.diff
Jun 24 2023, 6:29 PM
F10786624: D4611.id.diff
May 26 2023, 8:50 AM
F10736803: D4611.diff
May 13 2023, 12:01 AM
Subscribers

Details

Summary

Update packer to 1.3.3, changelog can be found here.

Test Plan
  • 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:6d0e0c26489e33f5a6f0020edface2727db9489744ecc9b4f50c7fa671f23c49
    docker: Status: Image is up to date for ubuntu:latest
==> docker: Starting docker container...
    docker: Run command: docker run -v /home/sysop/.packer.d/tmp/packer-docker314021031:/packer-files -d -i -t ubuntu /bin/bash
    docker: Container ID: 90727e370ca3b8f6495ffa7d60c4b7cd8233f9f9c5f06d3eeffb44b6652a18bb
==> docker: Using docker communicator to connect: 172.17.0.2
==> docker: Provisioning with shell script: /tmp/packer-shell917307666
    docker: hello
==> docker: Committing the container
    docker: Image ID: sha256:8cb94097da6bae9e25f3ba7c4f05464c65c1c2cf9522ab9360738df8e576967c
==> docker: Killing the container: 90727e370ca3b8f6495ffa7d60c4b7cd8233f9f9c5f06d3eeffb44b6652a18bb
Build 'docker' finished.

==> Builds finished. The artifacts of successful builds are:
--> docker: Imported Docker image: sha256:8cb94097da6bae9e25f3ba7c4f05464c65c1c2cf9522ab9360738df8e576967c

Diff Detail

Repository
R4370 packer
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 11 2018, 12:48 AM
This revision was automatically updated to reflect the committed changes.