Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide dockerfile name #75

Open
melroy89 opened this issue Feb 24, 2021 · 1 comment · May be fixed by #99
Open

Provide dockerfile name #75

melroy89 opened this issue Feb 24, 2021 · 1 comment · May be fixed by #99

Comments

@melroy89
Copy link

Besides the default 'Dockerfile' filename, you can rename your Dockerfile to other names, which should be possible.

However, I do not see any way to provide another Dockerfile name (eg. myspecialDockerfile) as input. With the docker command you can use docker build -f myspecialDockerfile . (see -f flag).

Regards,
Melroy

@ColeRutledge
Copy link

Besides the default 'Dockerfile' filename, you can rename your Dockerfile to other names, which should be possible.

However, I do not see any way to provide another Dockerfile name (eg. myspecialDockerfile) as input. With the docker command you can use docker build -f myspecialDockerfile . (see -f flag).

Agreed. It's a common convention to use Dockerfile.prod or Dockerfile.dev so it would be nice to have some control over that. Along the same lines, it would be great to provide options for setting the build context and the path to the Dockerfile, so we would have control over the naming convention and location of our Dockerfile vs it always being required to be in the root.

Thanks for the work you've done on this action! Very helpful! 👍

@janz93 janz93 linked a pull request Sep 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants