From 1dc40402e918a7d4370b38c7dcabe598fa18b7e1 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Thu, 18 Aug 2016 12:03:34 +0200 Subject: [PATCH] style cleanups, fix for xenial zmq rename --- Dockerfile | 46 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index d80614e..9a9f2a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,14 +10,30 @@ RUN sed -i \ /etc/apt/sources.list ; \ cat /etc/apt/sources.list -RUN apt-get update && \ +RUN \ + apt-get update && \ apt-get install -y \ - build-essential libtool autotools-dev automake pkg-config libssl-dev \ - libevent-dev bsdmainutils libzmq3 libzmq3-dev \ - libboost-system-dev libboost-filesystem-dev libboost-chrono-dev \ - libboost-program-options-dev libboost-test-dev libboost-thread-dev \ - libminiupnpc-dev git && \ - apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + automake \ + autotools-dev \ + bsdmainutils \ + build-essential \ + git \ + libboost-chrono-dev \ + libboost-filesystem-dev \ + libboost-program-options-dev \ + libboost-system-dev \ + libboost-test-dev \ + libboost-thread-dev \ + libevent-dev \ + libminiupnpc-dev \ + libssl-dev \ + libtool \ + libzmq3-dev \ + libzmq5 \ + pkg-config \ + && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN git clone https://github.com/bitcoin/bitcoin.git /usr/local/src/bitcoin @@ -30,10 +46,18 @@ RUN cd /usr/local/src/bitcoin && \ cd / && \ rm -rf /usr/local/src/bitcoin -RUN apt-get remove -y \ - build-essential libtool autotools-dev automake \ - pkg-config bsdmainutils git && \ - apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +RUN \ + apt-get remove -y \ + automake \ + autotools-dev \ + bsdmainutils \ + build-essential \ + git \ + libtool \ + pkg-config \ + && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ENV HOME /var/lib/bitcoin RUN useradd -s /bin/bash -m -d /var/lib/bitcoin bitcoin