такую ошибку
https://pastebin.com/20ApWbTB
Сам Dockerfile сейчас выглядит так
FROM php:7.1 AS builder
RUN apt-get update && apt-get install -y libpng-dev apt-utils
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions bcmath opcache sockets gd zip xsl soap pdo_pgsql pgsql imagick mcrypt
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY . /var/www/
WORKDIR /var/www/
RUN composer install \
--ignore-platform-reqs \
--no-interaction \
--no-plugins \
--no-scripts \
--prefer-dist
RUN php artisan optimize
а если взять FROM composer/composer as composer ? :)
Обсуждают сегодня