kopia lustrzana https://github.com/kartoza/docker-postgis
Include extra config and fix wget in gdal install
rodzic
99f0c016f3
commit
ce862ea55d
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ${IMAGE_VERSION} =~ [Bb][Uu][Ll][Ll][Ss][Ee][Yy][Ee] ]]; then
|
||||
wget http://ftp.br.debian.org/debian/pool/main/g/gdal/libgdal27_3.1.4+dfsg-1+b1_amd64.deb
|
||||
wget --progress=bar:force:noscroll -c --no-check-certificate http://ftp.br.debian.org/debian/pool/main/g/gdal/libgdal27_3.1.4+dfsg-1+b1_amd64.deb
|
||||
dpkg -i libgdal27_3.1.4+dfsg-1+b1_amd64.deb
|
||||
fi
|
||||
|
||||
|
|
|
@ -82,7 +82,14 @@ EOF
|
|||
echo "include 'streaming_replication.conf'" >> $CONF
|
||||
fi
|
||||
|
||||
echo -e $EXTRA_CONF >> $CONF
|
||||
if [[ -f ${ROOT_CONF}/extra.conf ]];then
|
||||
rm $CONF/extra.conf
|
||||
fi
|
||||
|
||||
if [[ ! -z $EXTRA_CONF ]]; then
|
||||
echo -e $EXTRA_CONF >> ${ROOT_CONF}/extra.conf
|
||||
echo "include 'extra.conf'" >> $CONF
|
||||
fi
|
||||
|
||||
# Optimise PostgreSQL shared memory for PostGIS
|
||||
# shmall units are pages and shmmax units are bytes(?) equivalent to the desired shared_buffer size set in setup_conf.sh - in this case 500MB
|
||||
|
|
Ładowanie…
Reference in New Issue