Skip to content

Commit

Permalink
docker: install latest PostgreSQL bridge
Browse files Browse the repository at this point in the history
See also #163.

Signed-off-by: Pierre-Alexandre Meyer <[email protected]>
  • Loading branch information
pierre committed Jan 24, 2020
1 parent 18ed58c commit fd855c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/templates/postgresql/tagged/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ RUN printf '\connect kaui;\n\n' >> /docker-entrypoint-initdb.d/020_kaui.sql

RUN set -x \
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
# Install the Kill Bill PostgreSQL DDL bridge
&& wget https://raw.githubusercontent.com/killbill/killbill/killbill-$KILLBILL_VERSION.0/util/src/main/resources/org/killbill/billing/util/ddl-postgresql.sql -O - > /var/tmp/postgres-bridge.sql \
# Install the latest Kill Bill PostgreSQL DDL bridge (see https://github.com/killbill/killbill-cloud/issues/163)
&& wget https://raw.githubusercontent.com/killbill/killbill/master/util/src/main/resources/org/killbill/billing/util/ddl-postgresql.sql -O - > /var/tmp/postgres-bridge.sql \
&& cat /var/tmp/postgres-bridge.sql >> /docker-entrypoint-initdb.d/010_killbill.sql \
&& cat /var/tmp/postgres-bridge.sql >> /docker-entrypoint-initdb.d/020_kaui.sql \
# Install the Kill Bill DDL
Expand Down

0 comments on commit fd855c6

Please sign in to comment.