diff --git a/pgbouncer/Dockerfile b/pgbouncer/Dockerfile new file mode 100644 index 0000000..3c29903 --- /dev/null +++ b/pgbouncer/Dockerfile @@ -0,0 +1,13 @@ +# +# Dockerfile +# + +FROM alpine:latest +MAINTAINER Yann Verry + + +RUN apk add --no-cache pgbouncer + +USER nobody + +CMD /usr/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini \ No newline at end of file diff --git a/pgbouncer/Makefile b/pgbouncer/Makefile new file mode 100644 index 0000000..ebac1a5 --- /dev/null +++ b/pgbouncer/Makefile @@ -0,0 +1,8 @@ +all: pull build + + +pull: + docker pull alpine:latest + +build: + docker build --no-cache=true -t pgbouncer .