We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d4b54 commit 0069d3bCopy full SHA for 0069d3b
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM behance/docker-nginx:1.1.1
+FROM behance/docker-nginx:1.2.0
2
MAINTAINER Bryan Latten <latten@adobe.com>
3
4
# Install pre-reqs for the next steps
@@ -32,7 +32,6 @@ RUN apt-get update && \
32
php5-json \
33
php5-xdebug \
34
newrelic-php5 \
35
- nano \
36
wget \
37
git \
38
&& \
container/root/run.d/99-phpfpm.sh
@@ -2,6 +2,12 @@
PHPFPM_CONF=/etc/php5/fpm/pool.d/www.conf
5
+if [[ $CONTAINER_ROLE != 'web' ]]
6
+then
7
+ echo '[php-fpm] non-web mode, bypassing run sequence'
8
+ exit
9
+fi
10
+
11
echo '[php-fpm] setting sensible PHP defaults'
12
php5enmod defaults
13
0 commit comments