summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-04-25 11:29:47 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2016-04-25 11:35:33 +0200
commitc55f517719e8941ccedcf5167828bb840da3f302 (patch)
tree05f8329b45ef8c84cc94f0aa60d33a36f383fa0e
parent2eee6a0cbc02c80eb0750a7ca77ee31c4cf0884f (diff)
downloadgitlab-ce-fix/ci-php-docker-example.tar.gz
Fix php-docker example (for new docker versions)fix/ci-php-docker-example
[ci skip]
-rw-r--r--doc/ci/examples/php.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/examples/php.md b/doc/ci/examples/php.md
index aeadd6a448e..db077927126 100644
--- a/doc/ci/examples/php.md
+++ b/doc/ci/examples/php.md
@@ -40,7 +40,7 @@ repository with the following content:
#!/bin/bash
# We need to install dependencies only for Docker
-[[ ! -e /.dockerinit ]] && exit 0
+[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
set -xe