alpine 3.6

This commit is contained in:
Wonderfall
2017-05-27 01:46:23 +02:00
parent 5238f438d7
commit 338e0a290f
7 changed files with 40 additions and 30 deletions

View File

@ -1,15 +1,16 @@
FROM alpine:edge
FROM alpine:3.6
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/*
RUN apk -U --no-cache add \
pgbouncer \
tini \
su-exec
COPY run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
VOLUME /config
VOLUME /etc/pgbouncer
CMD ["/sbin/tini","--","run.sh"]
CMD ["run.sh"]