diff --git a/bin/entrypoint b/bin/entrypoint index 0583b836..b019c49b 100755 --- a/bin/entrypoint +++ b/bin/entrypoint @@ -19,5 +19,10 @@ if [ -n "$PGHOST" ]; then psql --version && pg_dump --version fi +# Create needed .ssh files +mkdir -p /root/.ssh && touch /root/.ssh/known_hosts +chmod 700 /root/.ssh +chmod 644 /root/.ssh/known_hosts + # Continue work exec "$@"