Last active
December 24, 2015 11:22
-
-
Save artemgordinskiy/1e6c17dfd5f60cc3e963 to your computer and use it in GitHub Desktop.
Run PHP inside Docker inside CodeRunner
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
// enter this in the "Run Command" field in CodeRunner preferences | |
eval "$(docker-machine env default)" && docker run --rm php:7.0.1-cli php -r "$(sed 's/^<\?php//' $filename)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment