add pgbouncer

This commit is contained in:
Yann Verry 2021-05-06 21:47:04 +02:00
parent d6e39dae83
commit fc83fbfa12
Signed by: yann
GPG key ID: 19754E8692B8416C
2 changed files with 21 additions and 0 deletions

13
pgbouncer/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
#
# Dockerfile
#
FROM alpine:latest
MAINTAINER Yann Verry <docker@verry.org>
RUN apk add --no-cache pgbouncer
USER nobody
CMD /usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini

8
pgbouncer/Makefile Normal file
View file

@ -0,0 +1,8 @@
all: pull build
pull:
docker pull alpine:latest
build:
docker build --no-cache=true -t pgbouncer .