Fixing strict host checking issue

This commit is contained in:
Ric Harvey
2015-01-30 11:34:58 +00:00
parent dcf6cd77bf
commit 54c19709c3
2 changed files with 4 additions and 2 deletions

View File

@@ -1,11 +1,9 @@
## Introduction
This is a Dockerfile to build a container image for nginx and php-fpm, with the ability to pull website code from git. The container can also use environment variables to configure your web application using the templating detailed in the special features section.
### Git reposiory
The source files for this project can be found here: [https://github.com/ngineered/nginx-php-fpm](https://github.com/ngineered/nginx-php-fpm)
If you have any improvements please submit a pull request.
### Docker hub repository
The Docker hub build can be found here: [https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/](https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/)

View File

@@ -1,5 +1,9 @@
#!/bin/bash
# Disable Strict Host checking for non interactive git clones
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
# Pull down code form git for our site!
if [ ! -z "$GIT_REPO" ]; then
rm /usr/share/nginx/html/*