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

Add "--file" option to docker build #4195

Closed
thedeeno opened this issue Feb 18, 2014 · 2 comments
Closed

Add "--file" option to docker build #4195

thedeeno opened this issue Feb 18, 2014 · 2 comments

Comments

@thedeeno
Copy link

This is an enhancement to the core/api.

It should be possible to specify the dockerfile for builds instead of forcing it to be ./Dockerfile. This gives users more flexibility in their build process (allowing multiple dockerfiles in the same repo) while also maintaining security (cwd is still the context for the build).

It also gives users the freedom to name build files with other conventions, for instance if they prefer using extensions (e.g. foo.docker)

@tianon
Copy link
Member

tianon commented Feb 18, 2014

This is a duplicate of #2112.

@tianon tianon closed this as completed Feb 18, 2014
@thedeeno
Copy link
Author

Planning on a pull request and wanted my own issue number for my branch.

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

No branches or pull requests

2 participants