Remove apt cache when building docker container

This commit is contained in:
Dan Sosedoff
2019-01-28 12:02:30 -06:00
parent baa587166c
commit 7995a588bd

View File

@@ -5,7 +5,8 @@ ENV PGWEB_VERSION 0.11.0
RUN \ RUN \
apk update && \ apk update && \
apk add --no-cache ca-certificates openssl postgresql wget && \ apk add --no-cache ca-certificates openssl postgresql wget && \
update-ca-certificates \ update-ca-certificates && \
rm -rf /var/cache/apk/* && \
cd /tmp && \ cd /tmp && \
wget -q 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 && \ unzip pgweb_linux_amd64.zip -d /usr/bin && \