Skip to content

Instantly share code, notes, and snippets.

@Bablzz
Last active March 26, 2020 07:32
Show Gist options
  • Save Bablzz/a9c02bee765fea29fd44862c0de9c225 to your computer and use it in GitHub Desktop.
Save Bablzz/a9c02bee765fea29fd44862c0de9c225 to your computer and use it in GitHub Desktop.
Some reason do not build docker by Packer
  1. Packer change entrypoint. This is obscure if you are just trying packer. You can read this here

  2. Packer doesn't work with scratch/distroless images(and another without bash) If your docker image has no bash packer does not build your image. See here

  3. Packer has no some docker command like copy. See here

  4. Packer doesn't support docker merge build. Also here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment