You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally opened by @mprzybylski in hashicorp/packer#11283 and has been migrated to this repository. The original issue description is below.
Hello,
I took @SwampDragons up on her suggestion in issue #8120 to "tinker and can figure out how to make (distroless images) work":
Start from one of the distroless "debug" images. These are identical to the base images except that they have busybox installed.
Change the run_command for the docker source to ["-d", "-i", "-t", "--entrypoint=/busybox/sh", "--", "{{.Image}}"]
Create a symlink from /busybox/sh to /bin/sh to make shell provisioners work:
This issue was originally opened by @mprzybylski in hashicorp/packer#11283 and has been migrated to this repository. The original issue description is below.
Hello,
I took @SwampDragons up on her suggestion in issue #8120 to "tinker and can figure out how to make (distroless images) work":
run_command
for the docker source to["-d", "-i", "-t", "--entrypoint=/busybox/sh", "--", "{{.Image}}"]
/busybox/sh
to/bin/sh
to make shell provisioners work:/busybox
directory after all other provisioning is complete:Hope this helps!
-Mike Przybylski
The text was updated successfully, but these errors were encountered: