ComposerのためにDockerfileにgitを追加

This commit is contained in:
eai04191 2019-01-14 01:23:07 +09:00
parent 71137e9ab4
commit 8d5363e978

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 libpq-dev \ && apt-get install -y git libpq-dev \
&& 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 \