docker-php-build/7.2/Dockerfile

18 lines
445 B
Text
Raw Normal View History

2017-08-21 11:55:12 -04:00
FROM php:7.2-rc-zts
2017-08-18 09:26:57 -04:00
LABEL maintainer "Tony Blyler <me@tonyblyler.com>"
2017-08-21 11:55:12 -04:00
# FIXME get xdebug working for PHP 7.2 (not officially supported yet)
# pecl install xdebug
RUN pecl install pthreads && \
2017-08-18 09:26:57 -04:00
docker-php-ext-install pcntl sockets && \
2017-08-21 11:55:12 -04:00
docker-php-ext-enable pthreads && \
# docker-php-ext-enable xdebug && \
2017-08-18 09:26:57 -04:00
apt-get update && \
apt-get install -y \
git \
wget \
openssh-client
ENTRYPOINT ["docker-php-entrypoint"]
CMD ["php", "-a"]