summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Roehm <jasonr@3db-labs.com>2016-04-26 21:41:52 -0400
committerJason Roehm <jasonr@3db-labs.com>2016-04-26 21:41:52 -0400
commit0ace42cdb90161ee7daf69b7a6a7af6ce4195208 (patch)
tree6c77e33d60b90c0397204e47ce59d98979564a71
parentc01ff1f54b55a60f7c7473d0d8a429d5cf9c1609 (diff)
downloadgitlab-ce-0ace42cdb90161ee7daf69b7a6a7af6ce4195208.tar.gz
fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use /.dockerenv instead [ci skip]
Signed-off-by: Jason Roehm <jasonr@3db-labs.com>
-rw-r--r--doc/ci/ssh_keys/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/ssh_keys/README.md b/doc/ci/ssh_keys/README.md
index 7f825e6a065..7c0fb225dac 100644
--- a/doc/ci/ssh_keys/README.md
+++ b/doc/ci/ssh_keys/README.md
@@ -57,7 +57,7 @@ before_script:
# WARNING: Use this only with the Docker executor, if you use it with shell
# you will overwrite your user's SSH config.
- mkdir -p ~/.ssh
- - '[[ -f /.dockerinit ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
+ - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
```
As a final step, add the _public_ key from the one you created earlier to the