# HG changeset patch # User Tom Gottfried # Date 1565013358 -7200 # Node ID 8d6f43894f0984acf6b63926ef2d0d496fe2fffe # Parent 04876d8655286f1d47bc4efb3d42ce63fcffc909 Add pgTAP diff -r 04876d865528 -r 8d6f43894f09 docker/Dockerfile.pg --- 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