Skip to content

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Al-Waleed Shihadeh <[email protected]>
  • Loading branch information
r3cha and wshihadeh committed Nov 2, 2020
1 parent 1738383 commit c9eb5a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ execute_ssh(){
-o StrictHostKeyChecking=no "$INPUT_REMOTE_DOCKER_HOST" "$@"
}

if [ -z "$INPUT_REMOTE_DOCKER_PORT" ]; then
INPUT_REMOTE_DOCKER_PORT=22
fi

if [ -z "$INPUT_REMOTE_DOCKER_HOST" ]; then
echo "Input remote_docker_host is required!"
exit 1
Expand Down

0 comments on commit c9eb5a2

Please sign in to comment.