genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.9k stars 231 forks source link

"img push" fails because runc can't be found #154

Closed apobbati closed 6 years ago

apobbati commented 6 years ago

Steps to Reproduce:

  1. Download img v0.4.8 and install it on the path
  2. Use this Dockerfile:
    FROM busybox
  3. Run img build -t foo .
  4. Run img push foo

Step 4 fails with this output:

Pushing foo...
creating worker opt failed: failed to find runc binary
danderson commented 6 years ago

Both push and pull specify that they don't need runc, but do use it. This fails if you don't have an installed runc. Sending PR for that now.

apobbati commented 6 years ago

So since runc isn't actually needed for push and pull, any ideas on why things are broken?