Skip to content

Commit

Permalink
Create symlinks to libpgcommon.a and libpgport.a (#229)
Browse files Browse the repository at this point in the history
Fixes: #228
  • Loading branch information
CyberDem0n committed May 14, 2018
1 parent de43a87 commit 01c7147
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions postgres-appliance/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \
postgresql-${version}-pgq3 libpq5=$version* \
libpq-dev=$version* postgresql-server-dev-${version} \

&& ln -snf /usr/lib/postgresql/${version}/lib/libpgcommon.a /usr/lib/x86_64-linux-gnu/libpgcommon.a \
&& ln -snf /usr/lib/postgresql/${version}/lib/libpgport.a /usr/lib/x86_64-linux-gnu/libpgport.a \

&& if [ "$DEMO" != "true" ]; then \
apt-get install -y postgresql-${version}-plv8 \
postgresql-${version}-postgis-${POSTGIS_VERSION} \
Expand Down Expand Up @@ -347,6 +350,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
/usr/share/info \
/usr/share/locale/?? \
/usr/share/locale/??_?? \
/usr/lib/x86_64-linux-gnu/libpgcommon.a \
/usr/lib/x86_64-linux-gnu/libpgport.a \
/usr/share/postgresql/*/man \
/etc/pgbouncer/* \
/usr/lib/postgresql/*/bin/createdb \
Expand Down

0 comments on commit 01c7147

Please sign in to comment.