Skip to content

Commit

Permalink
Added Extension pg_permission (zalando#493)
Browse files Browse the repository at this point in the history
Pin the commit id (tags are inconsistent)

Co-authored-by: Alexander Kukushkin <cyberdemn@gmail.com>
  • Loading branch information
2 people authored and dratzke committed May 25, 2021
1 parent caff6eb commit 323bfa8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions postgres-appliance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ ENV POSTGIS_VERSION=3.0 \
SET_USER=REL2_0_0 \
PLPROFILER=REL4_1 \
PAM_OAUTH2=v1.0.1 \
PLANTUNER_COMMIT=800d81bc85da64ff3ef66e12aed1d4e1e54fc006
PLANTUNER_COMMIT=800d81bc85da64ff3ef66e12aed1d4e1e54fc006 \
PG_PERMISSIONS_COMMIT=314b9359e3d77c0b2ef7dbbde97fa4be80e31925

RUN export DEBIAN_FRONTEND=noninteractive \
&& set -ex \
Expand Down Expand Up @@ -121,6 +122,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
\
&& curl -sL https://github.com/CyberDem0n/bg_mon/archive/$BG_MON_COMMIT.tar.gz | tar xz \
&& curl -sL https://github.com/RafiaSabih/pg_auth_mon/archive/$PG_AUTH_MON_COMMIT.tar.gz | tar xz \
&& curl -sL https://github.com/cybertec-postgresql/pg_permission/archive/$PG_PERMISSIONS_COMMIT.tar.gz | tar xz \
&& git clone -b $SET_USER https://github.com/pgaudit/set_user.git \
&& git clone -b $TIMESCALEDB_LEGACY https://github.com/timescale/timescaledb.git \
\
Expand Down Expand Up @@ -192,7 +194,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
EXTRA_EXTENSIONS=""; \
fi \
\
&& for n in bg_mon-${BG_MON_COMMIT} pg_auth_mon-${PG_AUTH_MON_COMMIT} set_user $EXTRA_EXTENSIONS; do \
&& for n in bg_mon-${BG_MON_COMMIT} pg_auth_mon-${PG_AUTH_MON_COMMIT} set_user pg_permission $EXTRA_EXTENSIONS; do \
make -C $n USE_PGXS=1 clean install-strip; \
done; \
done \
Expand Down

0 comments on commit 323bfa8

Please sign in to comment.