Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
remove pointcloud installation in postgis Docker image
- Loading branch information
1 parent
7d1502b
commit defa799
Showing
1 changed file
with
1 addition
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
FROM kartoza/postgis:11.0-2.5 | ||
FROM kartoza/postgis:11.5-2.8 | ||
|
||
ADD auth_system/certs_keys/postgres.crt /etc/ssl/certs/postgres_cert.crt | ||
ADD auth_system/certs_keys/postgres.key /etc/ssl/private/postgres_key.key | ||
ADD auth_system/certs_keys/issuer_ca_cert.pem /etc/ssl/certs/issuer_ca_cert.pem | ||
|
||
RUN chmod 400 /etc/ssl/private/postgres_key.key | ||
|
||
# Compile and install PointCloud. | ||
# NOTE: release 1.2.0 would not build against PostgreSQL-11: | ||
# https://github.com/pgpointcloud/pointcloud/issues/248 | ||
RUN apt-get -y update; apt-get -y install \ | ||
autoconf \ | ||
build-essential \ | ||
libxml2-dev \ | ||
postgresql-client-11 \ | ||
postgresql-server-dev-11 \ | ||
zlib1g-dev | ||
RUN wget -O- \ | ||
https://github.com/pgpointcloud/pointcloud/archive/v1.2.1.tar.gz \ | ||
| tar xz && \ | ||
cd pointcloud-1.2.1 && \ | ||
./autogen.sh && \ | ||
./configure --with-pgconfig=/usr/lib/postgresql/11/bin/pg_config && \ | ||
make && make install && \ | ||
cd .. && rm -Rf pointcloud-1.2.1 |