Add 7.1 & 7.2 specific docker files
This commit is contained in:
parent
76f8d62ab6
commit
588fc66495
3 changed files with 28 additions and 0 deletions
14
7.1/Dockerfile
Normal file
14
7.1/Dockerfile
Normal 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
14
7.2/Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue