Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9e857a9006 | |||
5701ed6f97 |
@@ -1,15 +0,0 @@
|
||||
devphp:
|
||||
image: daiko/php
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ~/Public:/var/www
|
||||
links:
|
||||
- mariadb
|
||||
|
||||
mariadb:
|
||||
image: daiko/mariadb
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- ~/.mysql:/var/lib/mysql
|
@@ -1,6 +0,0 @@
|
||||
devphp:
|
||||
image: daiko/mapserver-ecw
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ~/VirtualBox\ VMs/cartesSIG:/var/www/html
|
@@ -1,9 +1,10 @@
|
||||
FROM php:7-fpm
|
||||
FROM php:5.6-fpm
|
||||
|
||||
RUN cd /tmp/ && \
|
||||
curl -O http://pecl.php.net/get/xdebug-2.4.0.tgz && \
|
||||
tar zxvf xdebug-2.4.0.tgz && \
|
||||
mv xdebug-2.4.0 /usr/src/php/ext/xdebug
|
||||
curl -O https://xdebug.org/files/xdebug-2.4.1.tgz && \
|
||||
tar zxf xdebug-2.4.1.tgz && \
|
||||
mkdir -p /usr/src/php/ext/xdebug && \
|
||||
mv xdebug-2.4.1/* /usr/src/php/ext/xdebug/
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ssmtp \
|
||||
@@ -15,7 +16,7 @@ RUN apt-get update && apt-get install -y \
|
||||
&& docker-php-ext-install -j$(nproc) mysqli pdo pdo_mysql \
|
||||
&& docker-php-ext-install -j$(nproc) xdebug\
|
||||
&& apt-get purge -y --auto-remove $buildDeps \
|
||||
&& cd /usr/src/php \
|
||||
&& cd /usr/src/php/ext/xdebug/ \
|
||||
&& make clean \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
Reference in New Issue
Block a user