Last active
September 5, 2018 01:52
-
-
Save rawkode/f366fde82be3e4e6f8dcc5f5393d90ed to your computer and use it in GitHub Desktop.
Blog Post: Composer as a Docker alias
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
alias composer='docker run -it --rm --net=host -v $HOME:$HOME -e COMPOSER_HOME="$HOME/.composer" -u $UID -w `pwd` composer/composer:master-php5-alpine' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment