Created
June 30, 2019 19:57
-
-
Save rdok/a819d450dd816deb6992c4213e79dc4b to your computer and use it in GitHub Desktop.
docker based codeception alias
This file contains hidden or 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
function codecept() { | |
docker run --rm \ | |
-w /app \ | |
-u $(id -u):$(id -g) \ | |
-v `pwd`:/app \ | |
--network=host \ | |
codeception/codeception $@ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment