Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea54ee8

Browse files
Merge pull request #4 from marc-casoliva/patch-1
Fixed missing ":" on -v option of docker run
2 parents 7dcd9aa + 0552e5e commit ea54ee8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ All tools can be acessed by executing:
2929
# Run the image on interactive mode
3030
docker run -it \
3131
# Creates a volume on the current path
32-
-v $(pwd)/toolbox \
32+
-v $(pwd):/toolbox \
3333
# and define it as the workdir
3434
-w /toolbox \
3535
# The image itself :)
@@ -55,7 +55,7 @@ All the commands below will be executed from the project's root folder, `my-proj
5555

5656
```bash
5757
docker run -it \
58-
-v $(pwd)/toolbox \
58+
-v $(pwd):/toolbox \
5959
-w /toolbox \
6060
devdrops/php-toolbox \
6161
php -v
@@ -65,7 +65,7 @@ docker run -it \
6565

6666
```bash
6767
docker run -it \
68-
-v $(pwd)/toolbox \
68+
-v $(pwd):/toolbox \
6969
-w /toolbox \
7070
devdrops/php-toolbox \
7171
composer install
@@ -75,7 +75,7 @@ docker run -it \
7575

7676
```bash
7777
docker run -it \
78-
-v $(pwd)/toolbox \
78+
-v $(pwd):/toolbox \
7979
-w /toolbox \
8080
devdrops/php-toolbox \
8181
phpunit --version
@@ -85,7 +85,7 @@ docker run -it \
8585

8686
```bash
8787
docker run -it \
88-
-v $(pwd)/toolbox \
88+
-v $(pwd):/toolbox \
8989
-w /toolbox \
9090
devdrops/php-toolbox \
9191
phpcs --standard=PSR2 Abstract.php
@@ -95,7 +95,7 @@ docker run -it \
9595

9696
```bash
9797
docker run -it \
98-
-v $(pwd)/toolbox \
98+
-v $(pwd):/toolbox \
9999
-w /toolbox \
100100
devdrops/php-toolbox \
101101
php-cs-fixer fix Abstract.php
@@ -105,7 +105,7 @@ docker run -it \
105105

106106
```bash
107107
docker run -it \
108-
-v $(pwd)/toolbox \
108+
-v $(pwd):/toolbox \
109109
-w /toolbox \
110110
devdrops/php-toolbox \
111111
phpmd Abstract.php text codesize

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /