You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you want to build a Dockerfile in a subdirectory, you'll have to adjust path and file. However, when changing the context using docker build some/other/context, Docker would also prefer the file some/other/context/Dockerfile according to the context (if not specified otherwise).
Should this action also follow this style and use the Dockerfile within path if not otherwise specified? Would be a breaking change but I think it would be more consistent with the Docker CLI experience.
@jerray Happy to submit a PR if you think this idea makes sense.
The text was updated successfully, but these errors were encountered:
Currently, if you want to build a Dockerfile in a subdirectory, you'll have to adjust
path
andfile
. However, when changing the context usingdocker build some/other/context
, Docker would also prefer the filesome/other/context/Dockerfile
according to the context (if not specified otherwise).Should this action also follow this style and use the Dockerfile within
path
if not otherwise specified? Would be a breaking change but I think it would be more consistent with the Docker CLI experience.@jerray Happy to submit a PR if you think this idea makes sense.
The text was updated successfully, but these errors were encountered: