mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 00:29:35 +00:00
76445a3c5a
This change updates the server used for PHP 5.4, 5.5, and 5.6 tests in order to support SEARCH requests. Using the PHP built-in web server in these versions errors with 501 Not Implemented / Request method not supported.
19 lines
566 B
Docker
19 lines
566 B
Docker
FROM php:5.6-fpm
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get --assume-yes --quiet update
|
|
|
|
RUN apt-get --assume-yes --quiet install git && \
|
|
apt-get --assume-yes --quiet install libpng-dev && \
|
|
apt-get --assume-yes --quiet install zip
|
|
|
|
RUN curl --silent --show-error "https://getcomposer.org/installer" | php && \
|
|
mv "composer.phar" "/usr/local/bin/composer" && \
|
|
composer global require --no-interaction "phpunit/phpunit"
|
|
|
|
RUN docker-php-ext-configure gd && \
|
|
docker-php-ext-install gd
|
|
|
|
ENV PATH /root/.composer/vendor/bin:$PATH
|
|
CMD ["bash"]
|