forked from ethereum/aleth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (22 loc) · 775 Bytes
/
Copy pathDockerfile
File metadata and controls
24 lines (22 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:jessie
RUN apt-get -q update && \
apt-get -qy install \
git \
curl \
build-essential \
libboost-all-dev \
libgmp-dev \
libleveldb-dev \
libmicrohttpd-dev \
libminiupnpc-dev && \
git clone --recursive https://github.com/ethereum/cpp-ethereum --branch build-on-linux --single-branch --depth 1 && \
cpp-ethereum/scripts/install_cmake.sh --prefix /tmp && \
cd /tmp && PATH=$PATH:/tmp/bin cmake /cpp-ethereum && \
PATH=$PATH:/tmp/bin cmake --build /tmp -- -j8 && \
cd /tmp && make install && \
apt-get purge git build-essential -qy && \
apt-get autoremove -qy && \
apt-get clean && \
rm /cpp-ethereum -rf && \
rm /tmp/* -rf
ENTRYPOINT ["/usr/local/bin/eth"]