Skip to content
This repository has been archived by the owner on Mar 13, 2019. It is now read-only.

Commit

Permalink
Update composer command to support global installs
Browse files Browse the repository at this point in the history
Adding `-v ~/.composer-docker:/composer` allows `composer global` commands to work properly
  • Loading branch information
saada authored Oct 9, 2016
1 parent 8f8538b commit 0bffaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ themselves. To create libraries/packages please read the
#!/bin/sh
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
echo "Current working directory: '"$(pwd)"'"
docker run --rm -v $(pwd):/app -v ~/.ssh:/root/.ssh composer/composer $@
docker run --rm -v $(pwd):/app -v ~/.ssh:/root/.ssh -v ~/.composer-docker:/composer composer/composer $@
```

Once the script has been made, it must be set as executable
Expand Down

0 comments on commit 0bffaf7

Please sign in to comment.