composer installでdistから取れるようにする (#26)

This commit is contained in:
mohemohe 2019-01-14 18:37:42 +09:00 committed by shibafu
parent 2299ac3fe7
commit 0e410ef342

View File

@ -3,7 +3,7 @@ FROM php:7.1-apache
ENV APACHE_DOCUMENT_ROOT /var/www/html/public ENV APACHE_DOCUMENT_ROOT /var/www/html/public
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y git libpq-dev \ && apt-get install -y git libpq-dev unzip \
&& docker-php-ext-install pdo_pgsql \ && docker-php-ext-install pdo_pgsql \
&& curl -sS https://getcomposer.org/installer | php \ && curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \ && mv composer.phar /usr/local/bin/composer \