Jc2k/pytest-docker-tools

build() custom Dockerfile file name support

diginc opened this issue · 2 comments

Am I right in understanding the code only supports custom folder paths when building (build(path='./folder')) and not custom Dockerfile file names?

Dockerfile_amd64, Dockerfile_armhf, etc sharing the same added/copied file dependencies is my use case, so putting them in sub directories isn't ideal.

Jc2k commented

Off the top of my head it should pass through args to the underlying docker APIs. So looking here, i'd expect it to take the dockerfile arg.

Jc2k commented

I didn't get the notify for the 👍 - but im going to take that as issue resolved and close this. Let me know if you have any other issues.