Created
November 22, 2016 16:26
-
-
Save akostylev0/0e7eaea0154d59012d4c747a255ef8f8 to your computer and use it in GitHub Desktop.
php shim for phpstorm
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
#!/usr/bin/env bash | |
cd `dirname $0` | |
DIR="/your/work/dir" | |
exec docker run --env XDEBUG_CONFIG="$XDEBUG_CONFIG" -w="$DIR" --net="host" --rm -v /tmp:/tmp -v "$DIR":"$DIR" \ | |
your-php-image-name php "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment