Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update Dockerfile naming convention to <purpose>.dockerfile #1190
To improve syntax highlighting we can use the following naming scheme for
@alexdesignworks the changes only concern the
Here's a little more background.
In multi-stage builds, we tend to require multiple
This is OK, but can be difficult to find "the right file" you want to edit in an IDE as you have to rely on being able to see the path name.
Another solution is to add the context to the Dockerfile name, such as for the extension:
But this creates another issue: we no longer have syntax highlighting out-of-the-box.
What if we standardise and use
Also, using a lowercase