pgweb/Dockerfile

17 lines
506 B
Docker
Raw Normal View History

2017-08-09 23:11:30 -05:00
FROM alpine:3.6
MAINTAINER Dan Sosedoff <dan.sosedoff@gmail.com>
2014-10-28 19:02:27 +11:00
2018-04-24 11:40:03 -05:00
ENV PGWEB_VERSION 0.9.12
2014-10-28 19:02:27 +11:00
RUN \
apk add --no-cache ca-certificates openssl postgresql && \
update-ca-certificates && \
cd /tmp && \
wget https://github.com/sosedoff/pgweb/releases/download/v$PGWEB_VERSION/pgweb_linux_amd64.zip && \
unzip pgweb_linux_amd64.zip -d /usr/bin && \
mv /usr/bin/pgweb_linux_amd64 /usr/bin/pgweb && \
rm -f pgweb_linux_amd64.zip
2014-10-28 19:02:27 +11:00
2015-07-14 22:26:32 -05:00
EXPOSE 8081
CMD ["/usr/bin/pgweb", "--bind=0.0.0.0", "--listen=8081"]