Skip to content

Commit 0cb8d16

Browse files
committed
Update guide for using powershell
1 parent 7093c31 commit 0cb8d16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,12 @@ Start a container with the name `builder` from the cross-compilation image `unif
107107

108108
```bash
109109
docker run --name builder -it -v $(pwd):/workdir unifmu-build # bash
110-
docker run --name builder -it -v %cd%:/workdir unifmu-build # windows cmd
111110
```
112111

113-
Sharing the source between the host and container, `unifmu-build`, is done using a volume as indicated by the `$(pwd):/workdir`.
112+
```powershell
113+
$pwd = (pwd).Path
114+
docker run --name builder -it -v ${pwd}:/workdir unifmu-build # powershell
115+
```
114116

115117
**Note: On windows you may have to enable the use of shared folders through the dockers interface, otherwise the container fails to start.**
116118

0 commit comments

Comments
 (0)