Skip to content

Commit 0069d3b

Browse files
author
Bryan Latten
committed
Supervisor: basic integration
1 parent 91d4b54 commit 0069d3b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM behance/docker-nginx:1.1.1
1+
FROM behance/docker-nginx:1.2.0
22
MAINTAINER Bryan Latten <latten@adobe.com>
33

44
# Install pre-reqs for the next steps
@@ -32,7 +32,6 @@ RUN apt-get update && \
3232
php5-json \
3333
php5-xdebug \
3434
newrelic-php5 \
35-
nano \
3635
wget \
3736
git \
3837
&& \

container/root/run.d/99-phpfpm.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
PHPFPM_CONF=/etc/php5/fpm/pool.d/www.conf
44

5+
if [[ $CONTAINER_ROLE != 'web' ]]
6+
then
7+
echo '[php-fpm] non-web mode, bypassing run sequence'
8+
exit
9+
fi
10+
511
echo '[php-fpm] setting sensible PHP defaults'
612
php5enmod defaults
713

0 commit comments

Comments
 (0)