Semaphore/deployment/docker/dev/bin/install
2018-10-22 13:45:35 +10:00

15 lines
336 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo "--> Turn off StrictKeyChecking"
cat > /etc/ssh/ssh_config <<EOF
Host *
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
EOF
echo "--> Install Semaphore entrypoint wrapper script"
mv ./deployment/docker/common/semaphore-wrapper /usr/local/bin/semaphore-wrapper
task deps
chmod -R 0777 /go