Created
July 16, 2017 14:20
-
-
Save leolana/3376124aa4ff43443b338ad9c1d61811 to your computer and use it in GitHub Desktop.
PHPUnit script sheel run docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin | |
echo "Current working directory: '"$(pwd)"'" | |
sudo docker run --rm -v $(pwd):/app -v ~/.ssh:/root/.ssh leonardolana/phpdocker:latest /usr/local/bin/phpunit.phar $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment