Skip to content

Commit b984c79

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/entrypoint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ 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+
2225
# Continue work
2326
exec "$@"

0 commit comments

Comments
 (0)