Skip to content

Instantly share code, notes, and snippets.

@graillus
Last active June 15, 2016 13:22
Show Gist options
  • Save graillus/e9d1cb4f5815fb1c5c1fcdd7d602b35c to your computer and use it in GitHub Desktop.
Save graillus/e9d1cb4f5815fb1c5c1fcdd7d602b35c to your computer and use it in GitHub Desktop.
PHP7 docker shortcut script (alias php7=/path/to/this/file)
#!/bin/bash
docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) php:7 php $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment