From bef35d1154837b8fa383c6e4afc85a985af6c139 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sun, 17 Sep 2017 21:34:16 +0100 Subject: [PATCH] Reduce image size --- Dockerfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 338919e..f6aeb82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,16 @@ FROM ubuntu:16.04 MAINTAINER Luke Childs -RUN apt-get update -RUN apt-get install -y curl unzip -RUN curl -L https://github.com/vertcoin/vertcoin/releases/download/v0.11.1.0/vertcoin-v0.11.1.0-linux-64bit.zip --output prebuilt.zip -RUN unzip prebuilt.zip -RUN mv vertcoind /usr/local/bin - ADD ./bin /usr/local/bin -RUN chmod a+x /usr/local/bin/* + +RUN chmod a+x /usr/local/bin/* && \ + apt-get update && \ + apt-get install -y --no-install-recommends curl ca-certificates unzip && \ + curl -L https://github.com/vertcoin/vertcoin/releases/download/v0.11.1.0/vertcoin-v0.11.1.0-linux-64bit.zip --output prebuilt.zip && \ + unzip prebuilt.zip && \ + mv vertcoind /usr/local/bin && \ + apt-get purge -y curl ca-certificates unzip && \ + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* VOLUME ["/data"] ENV HOME /data