Make sure pgAdmin can find the root certificates for upgrade checks.

This commit is contained in:
Dave Page 2021-02-01 17:26:39 +00:00
parent 2a4ba132ad
commit 32e3da7857

View File

@ -6,6 +6,7 @@
# container build so it can have the required ownership.
if [ `wc -m /pgadmin4/config_distro.py | awk '{ print $1 }'` = "0" ]; then
cat << EOF > /pgadmin4/config_distro.py
CA_FILE = '/etc/ssl/certs/ca-certificates.crt'
HELP_PATH = '../../docs'
DEFAULT_BINARY_PATHS = {
'pg': '/usr/local/pgsql-13'