style cleanups, fix for xenial zmq rename

This commit is contained in:
Jeffrey Paul 2016-08-18 12:03:34 +02:00
parent 0bbc30bb60
commit 1dc40402e9
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2
1 changed files with 35 additions and 11 deletions

View File

@ -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