Last active
April 21, 2018 07:56
-
-
Save jeslopcru/549e84f08fd69132174cdbc8c3b21632 to your computer and use it in GitHub Desktop.
dockerfiles for katas
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
FROM phpstorm/php-71-cli-xdebug | |
MAINTAINER Jesus Lopez <jeslopcru@gmail.com> | |
# Composer and dependencies | |
RUN apt-get update && \ | |
apt-get install git unzip -y | |
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ | |
php composer-setup.php && \ | |
php -r "unlink('composer-setup.php');" && \ | |
mv composer.phar /usr/local/bin/composer | |
# Volume to have access to the source code | |
VOLUME ["/opt/project"] | |
WORKDIR /opt/project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment