Dockerfile Code Formatter
Formats Dockerfiles.
Install and Setup
In a dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.dockerfile
file extensions are matched in an"includes"
pattern. - Add a
"dockerfile"
configuration property if desired.
{
// omitted...
"dockerfile": {
// dockerfile config goes here
},
"includes": [
"**/*.{dockerfile}"
],
"plugins": [
"https://plugins.dprint.dev/dockerfile-x.x.x.wasm"
]
}
Configuration
See Configuration
Playground
See Playground