RobLoach / drush-docker

:whale: Docker Container to run Drush
http://registry.hub.docker.com/u/drush/drush
Other
19 stars 19 forks source link

#10: Get drush8 via PHAR instead of composer #11

Closed pirog closed 8 years ago

pirog commented 8 years ago

@RobLoach now that drush can be easily installed via PHARness we should switch to use that as the default distribution method.

An immediate obvious advantage of this is that you can now do things like

docker run -v $(pwd):/app -u non-root-user drush/drush status

And run drush without needing to be root.

pirog commented 8 years ago

@RobLoach only did the chmod order that way because that is what is in the official install docs although im honestly not sure why

# Test your install.
php drush.phar core-status

# Rename to `drush` instead of `php drush.phar`. Destination can be anywhere on $PATH. 
chmod +x drush.phar
sudo mv drush.phar /usr/local/bin/drush
pirog commented 8 years ago

@RobLoach F "the man's" install instructions. This is just better.