Closed alefray closed 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
img build
--secret
--ssh
RUN --mount=...
img
This work is largely inspired from:
Few comments about this work:
moby/buildkit
dfrunmount dfsecrets dfssh
TestBuildSsh
References:
Would it be possible to support id=git,env=PASSWORD as well?
id=git,env=PASSWORD
This PR resolves #198
The current implementation of
img build
does not support--secret
and--ssh
arguments nor acceptRUN --mount=...
instruction. These features are now in GA since docker 20.10 and would be a great addition toimg
This work is largely inspired from:
Few comments about this work:
moby/buildkit
must be built with tagsdfrunmount dfsecrets dfssh
for--secret
and--ssh
supportTestBuildSsh
. I'm not sure if this was the best way to make a unit test for--ssh
References: