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
learn-packer.docker.ubuntu: output will be in this color. | |
learn-packer.docker.ubuntu-bionic: output will be in this color. | |
==> learn-packer.docker.ubuntu-bionic: Creating a temporary directory for sharing data... | |
==> learn-packer.docker.ubuntu-bionic: Pulling Docker image: ubuntu:bionic | |
==> learn-packer.docker.ubuntu: Creating a temporary directory for sharing data... | |
==> learn-packer.docker.ubuntu: Pulling Docker image: ubuntu:xenial | |
learn-packer.docker.ubuntu-bionic: bionic: Pulling from library/ubuntu | |
learn-packer.docker.ubuntu: xenial: Pulling from library/ubuntu | |
learn-packer.docker.ubuntu: Digest: sha256:0f71fa8d4d2d4292c3c617fda2b36f6dabe5c8b6e34c3dc5b0d17d4e704bd39c |
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
packer { | |
required_plugins { | |
docker = { | |
version = ">= 0.0.7" | |
source = "github.com/hashicorp/docker" | |
} | |
} | |
} | |
variable "docker_image" { |