Skip to content

Instantly share code, notes, and snippets.

View jjs105's full-sized avatar

jjs105 jjs105

View GitHub Profile
@jjs105
jjs105 / gist:d63efd5b14c53377668d0b25fa48e681
Created October 28, 2021 07:34
Packer Sample Logfile
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
@jjs105
jjs105 / gist:751935fe509c2026ac943d4420e39e62
Created October 28, 2021 07:32
Packer Sample Build Template
packer {
required_plugins {
docker = {
version = ">= 0.0.7"
source = "github.com/hashicorp/docker"
}
}
}
variable "docker_image" {