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.88k stars 229 forks source link

port --secret and --ssh support #323

Closed alefray closed 3 years ago

alefray commented 3 years ago

This PR resolves #198

The current implementation of img build does not support --secret and --ssh arguments nor accept RUN --mount=... instruction. These features are now in GA since docker 20.10 and would be a great addition to img

This work is largely inspired from:

Few comments about this work:

References:

gabyx commented 2 years ago

Would it be possible to support id=git,env=PASSWORD as well?