changeset 4167:8d6f43894f09

Add pgTAP
author Tom Gottfried <tom@intevation.de>
date Mon, 05 Aug 2019 15:55:58 +0200
parents 04876d865528
children 3ef3f8a99d5e
files docker/Dockerfile.pg
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docker/Dockerfile.pg	Mon Aug 05 14:35:54 2019 +0200
+++ b/docker/Dockerfile.pg	Mon Aug 05 15:55:58 2019 +0200
@@ -40,6 +40,12 @@
 # Put PostgreSQL executables in path
 ENV PATH $PGBIN:$PATH
 
+# Add pgTAP repository and build it
+WORKDIR /opt
+RUN git clone https://github.com/theory/pgtap.git
+WORKDIR /opt/pgtap
+RUN make && make install
+
 # Initialize cluster
 RUN mkdir -p $PGDATA && useradd postgres -d $PGDATA && chown postgres $PGDATA
 USER postgres