Skip to content

Commit daae3fb

Browse files
committed
[IMP] entrypoint: create known_hosts file
1 parent 34afc94 commit daae3fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/entrypoint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@ if [ -n "$PGHOST" ]; then
1919
psql --version && pg_dump --version
2020
fi
2121

22+
# Create needed .ssh files
23+
mkdir -p /root/.ssh && touch /root/.ssh/known_hosts
24+
chmod 700 /root/.ssh
25+
chmod 644 /root/.ssh/known_hosts
26+
2227
# Continue work
2328
exec "$@"

0 commit comments

Comments
 (0)