Add power shell example
(cherry picked from commit 068d466cc7cd4ef3915b983b61e9cd029936ac90)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -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 |