Created
October 8, 2013 04:45
-
-
Save clarkf/6879574 to your computer and use it in GitHub Desktop.
A dockerfile for
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
| FROM ubuntu:precise | |
| # Install all the things! (TODO: Add your favorite text editor here) | |
| RUN apt-get update | |
| RUN apt-get -y -q install php5-cli sudo php5-curl curl git | |
| # Create a user so that everything isn't run as root | |
| RUN adduser user; adduser user sudo; passwd -d user | |
| # Install composer, and move it to `composer` so it can be used globally | |
| RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ | |
| RUN mv /usr/local/bin/composer.phar /usr/local/bin/composer | |
| # Now, `git clone` your favorite php repo and start forking! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment