Using docker-lock --dockerfiles with find command #92
-
@michaelperel Is there a way to pass output from the find command to I have tried the following plus some other mutations of the same, but I can not find a way to do this that work. Does it perhaps require changes to how --dockerfiles argument is parsed in code?
Thank you for a great tool BTW! I hope I am not spamming too much with the issues (and this discussion), in that case please tell me =) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@andoks Apologies for the late reply, I did not have notifications turned on for discussions. The syntax for passing a list in the CLI is as comma separated values, such as:
So in your case, you could say:
Hope this clears it up! |
Beta Was this translation helpful? Give feedback.
-
Commenting for others following: As of #99,
|
Beta Was this translation helpful? Give feedback.
Commenting for others following: As of #99,
docker-lock
supports more powerful globs, so you likely will not need to usefind
. Instead, if you want to recursively search for anything with the path*dockerfile
, you could say:docker lock generate --dockerfile-globs='**/*dockerfile'