7 lines
279 B
Bash
7 lines
279 B
Bash
#!/bin/sh
|
|
set -eu
|
|
install -d -o postgres -g postgres -m 700 /run/pg-tls
|
|
install -o postgres -g postgres -m 600 /run/pg-source/server.key /run/pg-tls/server.key
|
|
install -o postgres -g postgres -m 644 /run/pg-source/server.crt /run/pg-tls/server.crt
|
|
exec docker-entrypoint.sh "$@"
|