Skip to content

Commit

Permalink
Try installing pointcloud 1.2.1, and use PATH instead of PG_CONFIG
Browse files Browse the repository at this point in the history
because PG_CONFIG seems to be unsupported, at least at ./configure
time (pgpointcloud/pointcloud#258)
  • Loading branch information
strk committed Feb 18, 2020
1 parent 2aef8af commit c9c99f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/testdata/Dockerfile-postgis
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ RUN chmod 400 /etc/ssl/private/postgres_key.key
# /~https://github.com/pgpointcloud/pointcloud/issues/248
RUN apt-get -y update; apt-get -y install build-essential autoconf postgresql-server-dev-11 libxml2-dev zlib1g-dev
RUN wget -O- \
/~https://github.com/pgpointcloud/pointcloud/archive/dda0cb9c84365088737d9c157beeedf87ca59f01.tar.gz \
/~https://github.com/pgpointcloud/pointcloud/archive/v1.2.1.tar.gz \
| tar xz && \
cd pointcloud-dda0cb9c84365088737d9c157beeedf87ca59f01 && \
cd pointcloud-1.2.1 && \
PATH=/usr/lib/postgresql/11/bin/:$PATH && \
./autogen.sh && \
PG_CONFIG=/usr/lib/postgresql/11/bin/pg_config ./configure && \
./configure && \
make && make install && \
cd .. && rm -Rf pointcloud-dda0cb9c84365088737d9c157beeedf87ca59f01
cd .. && rm -Rf pointcloud-1.2.1

0 comments on commit c9c99f9

Please sign in to comment.