Signed-off-by: Michael Friis <friism@gmail.com>
| ... | ... |
@@ -79,7 +79,11 @@ Build Syntax Suffix | Commit Used | Build Context Used |
| 79 | 79 |
Instead of specifying a context, you can pass a single Dockerfile in the `URL` |
| 80 | 80 |
or pipe the file in via `STDIN`. To pipe a Dockerfile from `STDIN`: |
| 81 | 81 |
|
| 82 |
- docker build - < Dockerfile |
|
| 82 |
+ $ docker build - < Dockerfile |
|
| 83 |
+ |
|
| 84 |
+With Powershell on Windows, you can run: |
|
| 85 |
+ |
|
| 86 |
+ Get-Content Dockerfile | docker build - |
|
| 83 | 87 |
|
| 84 | 88 |
If you use STDIN or specify a `URL`, the system places the contents into a file |
| 85 | 89 |
called `Dockerfile`, and any `-f`, `--file` option is ignored. In this |