Add 7.1 & 7.2 specific docker files

This commit is contained in:
Tony Blyler 2017-08-18 09:29:10 -04:00
parent 76f8d62ab6
commit 588fc66495
3 changed files with 28 additions and 0 deletions

14
7.1/Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM php:7.1
LABEL maintainer "Tony Blyler <me@tonyblyler.com>"
RUN pecl install xdebug && \
docker-php-ext-install pcntl sockets && \
docker-php-ext-enable xdebug && \
apt-get update && \
apt-get install -y \
git \
wget \
openssh-client
ENTRYPOINT ["docker-php-entrypoint"]
CMD ["php", "-a"]

14
7.2/Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM php:7.2-rc
LABEL maintainer "Tony Blyler <me@tonyblyler.com>"
RUN pecl install xdebug && \
docker-php-ext-install pcntl sockets && \
docker-php-ext-enable xdebug && \
apt-get update && \
apt-get install -y \
git \
wget \
openssh-client
ENTRYPOINT ["docker-php-entrypoint"]
CMD ["php", "-a"]