mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 06:35:38 +00:00
alpine 3.6
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user