Merge pull request #357 from Bizzelicious/patch-1

Update Dockerfile
This commit is contained in:
Dan Sosedoff
2018-04-25 23:19:00 -05:00
committed by GitHub

View File

@@ -1,11 +1,12 @@
FROM alpine:3.6 FROM alpine:3.6
MAINTAINER Dan Sosedoff <dan.sosedoff@gmail.com>
LABEL maintainer="Dan Sosedoff <dan.sosedoff@gmail.com>"
ENV PGWEB_VERSION 0.9.12 ENV PGWEB_VERSION 0.9.12
RUN \ RUN \
apk update && \ apk add --no-cache ca-certificates openssl postgresql && \
apk add --update ca-certificates openssl && \
update-ca-certificates && \ update-ca-certificates && \
cd /tmp && \ cd /tmp && \
wget https://github.com/sosedoff/pgweb/releases/download/v$PGWEB_VERSION/pgweb_linux_amd64.zip && \ wget https://github.com/sosedoff/pgweb/releases/download/v$PGWEB_VERSION/pgweb_linux_amd64.zip && \
@@ -14,4 +15,4 @@ RUN \
rm -f pgweb_linux_amd64.zip rm -f pgweb_linux_amd64.zip
EXPOSE 8081 EXPOSE 8081
CMD ["/usr/bin/pgweb", "--bind=0.0.0.0", "--listen=8081"] CMD ["/usr/bin/pgweb", "--bind=0.0.0.0", "--listen=8081"]