add pgbouncer image

This commit is contained in:
Wonderfall
2017-04-20 03:35:28 +02:00
parent 69a2b97932
commit 8f541d2828
2 changed files with 19 additions and 0 deletions

15
pgbouncer/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM alpine:edge
ENV UID=991 GID=991
RUN echo "@testing https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk -U add pgbouncer@testing tini su-exec \
&& rm -rf /var/cache/apk/*
COPY run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
VOLUME /config
CMD ["/sbin/tini","--","run.sh"]