Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
fix(container): add schema and setup script to pgtap images
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 23, 2019
1 parent 8b6f08f commit 990d80c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/Dockerfile.pgtap-10
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ RUN git clone git://github.com/theory/pgtap.git \
&& make install

RUN cpan TAP::Parser::SourceHandler::pgTAP

ENV POSTGRES_DB prometheus

COPY ./package.json /app/
COPY ./schema /app/schema/
COPY ./scripts /app/scripts/

COPY ./scripts/image-init.sh /docker-entrypoint-initdb.d/
8 changes: 8 additions & 0 deletions docker/Dockerfile.pgtap-11
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ RUN git clone git://github.com/theory/pgtap.git \
&& make install

RUN cpan TAP::Parser::SourceHandler::pgTAP

ENV POSTGRES_DB prometheus

COPY ./package.json /app/
COPY ./schema /app/schema/
COPY ./scripts /app/scripts/

COPY ./scripts/image-init.sh /docker-entrypoint-initdb.d/

0 comments on commit 990d80c

Please sign in to comment.