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.89k stars 231 forks source link

Port over `docker build --secret` and `docker build --ssh` (low hanging fruit) #198

Closed AkihiroSuda closed 3 years ago

bryanhuntesl commented 5 years ago

This would be really useful - it's so hard to build code from private repositories using Docker.

tlawrie commented 5 years ago

Any update on when this may be implemented?

morganchristiansson commented 4 years ago

Any workarounds? Not having a lot of luck on google searching for img sshagent

AkihiroSuda commented 4 years ago

img project is not under active development recently. I'd suggest using buildctl-daemonless.sh build --ssh instead.

https://github.com/moby/buildkit/blob/master/examples/buildctl-daemonless/buildctl-daemonless.sh