fix start script
This commit is contained in:
@@ -5,10 +5,6 @@
|
||||
mkdir -p -m 0700 /root/.ssh
|
||||
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
|
||||
|
||||
if [[ "$GIT_USE_SSH" == "1" ]] ; then
|
||||
echo -e "Host *\n\tUser ${GIT_USERNAME}\n\n" >> /root/.ssh/config
|
||||
fi
|
||||
|
||||
if [ ! -z "$SSH_KEY" ]; then
|
||||
echo $SSH_KEY > /root/.ssh/id_rsa.base64
|
||||
base64 -d /root/.ssh/id_rsa.base64 > /root/.ssh/id_rsa
|
||||
@@ -116,3 +112,4 @@ fi
|
||||
|
||||
# Start supervisord and services
|
||||
exec /usr/bin/supervisord -n -c /etc/supervisord.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user