asbjornenge / Docker.tmbundle

Dockerfile syntax
MIT License
75 stars 27 forks source link

Dockerfile-prod not recognized #31

Closed zachbugay closed 2 years ago

zachbugay commented 4 years ago

I have two docker-files in my repository. A Dockerfile, and a Dockerfile-prod (to denote dev versus production.) The Dockerfile-prod does not have any syntax help or anything.

blag commented 4 years ago

If you're using Sublime, the .Dockerfile and .dockerfile extensions should both match this syntax. Please rename your production Dockerfile accordingly.

Unfortunately, since there isn't really an official standard for naming different Dockerfiles, I'm not super interested in supporting everybody's naming variances.

princemaple commented 2 years ago

Does the first line not guess correctly? You can use https://packagecontrol.io/packages/ApplySyntax to apply extra rules to choose syntax for you automatically.