Update dockerfile

This commit is contained in:
Dan Sosedoff 2018-08-20 21:04:10 -05:00
parent 3da2af9111
commit e3b2d08021

View File

@ -3,10 +3,11 @@ LABEL maintainer="Dan Sosedoff <dan.sosedoff@gmail.com>"
ENV PGWEB_VERSION 0.9.12
RUN \
apk add --no-cache ca-certificates openssl postgresql && \
update-ca-certificates && \
apk update && \
apk add --no-cache ca-certificates openssl postgresql wget && \
update-ca-certificates \
cd /tmp && \
wget https://github.com/sosedoff/pgweb/releases/download/v$PGWEB_VERSION/pgweb_linux_amd64.zip && \
wget -q 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