-
Notifications
You must be signed in to change notification settings - Fork 28
Custom Dockerfile name / multiple Dockerfiles per repo #145
Comments
I too have multiple in almost all of my repos. We have one for nginx , php-fpm, etc. |
An easy start here would be for Dependabot to fetch and update all files with the word After that adding support for arbitrary names shouldn't be too tricky. I'll try to get to that today, too. |
OK, Dependabot will now update all files with the word Are either of you using names that it would miss, given the above? I'll close this if not. |
I just use |
Ah cool - Dependabot should already be able to handle that if you just add multiple update configs, one for each language. I think that's probably the best long-term solution there - I could set Dependabot up to trawl your repo for any files called Dockerfile, but can see that being the wrong behaviour for some people. |
I actually didn't know we could add the same language multiple times. That works for me. |
Yeah, I could definitely clean up the UI on that... @danmaas - does the current change work for you, too? |
Yes, a case-insensitive match against |
Awesome - going to close for now, and will revisit if other need even more custom names. Thanks for the feedback! |
@greysteil this'd be nice to have documented somewhere :) I almost opened an issue about how to go about setting multiple Dockerfiles in the |
Agreed. I'll have think on where we can put it. |
Not sure this is documented here, has anyone got an example config, or is it just a case of naming the dockerfiles with the string |
Hi - I have a repo with a couple of Dockerfiles named something other than "
Dockerfile
", e.g.I would like there to be an option in Dependabot's Docker configuration to specify a custom Dockerfile name.
Also, it would be nice to handle multiple Dockerfiles within a single repo, either by registering them as separate "languages", or by managing them as a group.
The text was updated successfully, but these errors were encountered: