提交 0ace42cd 编写于 作者: J Jason Roehm

fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use...

fix: in recent versions of Docker, the /.dockerinit file doesn't exist; use /.dockerenv instead [ci skip]
Signed-off-by: NJason Roehm <jasonr@3db-labs.com>
上级 c01ff1f5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册