FROM php:fpm
RUN apt-get update && apt-get install vim git zip unzip -y
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN echo 'precedence fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b:0/96 100' >> /etc/gai.conf
RUN composer config --global repo.packagist composer https://packagist.org
RUN composer global require hirak/prestissimo
RUN docker-php-ext-install pdo pdo_mysql
USER 1000:1000
