Fix PHP 7.2 builds

This commit is contained in:
Tony Blyler 2017-08-21 11:55:12 -04:00
parent f1c0a829da
commit f9c7e4b8e4

View file

@ -1,9 +1,12 @@
FROM php:7.2-rc
FROM php:7.2-rc-zts
LABEL maintainer "Tony Blyler <me@tonyblyler.com>"
RUN pecl install xdebug && \
# FIXME get xdebug working for PHP 7.2 (not officially supported yet)
# pecl install xdebug
RUN pecl install pthreads && \
docker-php-ext-install pcntl sockets && \
docker-php-ext-enable xdebug && \
docker-php-ext-enable pthreads && \
# docker-php-ext-enable xdebug && \
apt-get update && \
apt-get install -y \
git \