You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,16 @@ Dockerfile formatter, and a modern version of [dockfmt](https://github.com/jessf
4
4
5
5
## Installation
6
6
7
+
### Binaries
8
+
7
9
Binaries are available from the [releases](https://github.com/reteps/dockerfmt/releases) page.
8
10
11
+
### go install
12
+
13
+
```bash
14
+
go install github.com/reteps/dockerfmt@latest
15
+
```
16
+
9
17
## Usage
10
18
11
19
```output
@@ -52,7 +60,6 @@ repos:
52
60
53
61
- The `RUN` parser currently doesn't support grouping or semicolons in commands. Adding semicolon support is a non-trivial task.
54
62
55
-
56
63
- No line wrapping is performed for long JSON commands
57
64
- The `# escape=X` directive is not supported
58
65
@@ -92,7 +99,6 @@ RUN echo "hello" \
92
99
93
100
This is surprisingly [non-trivial](https://github.com/moby/buildkit/issues/5889) as we want to attach the comments to their position in the formatted output, but they are stripped by the parser beforehand.
94
101
95
-
96
102
## JS Bindings
97
103
98
104
The JS bindings are available in the `js` directory. More information on how to use them can be found in the [README](js/README.md) file.
0 commit comments