mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix trusty build script for eth.
This commit is contained in:
parent
c5c5b23ff4
commit
6a2c30e4ff
@ -1,7 +1,13 @@
|
||||
FROM ubuntu:trusty
|
||||
|
||||
RUN apt update
|
||||
RUN apt -y install libleveldb-dev cmake g++ git
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install software-properties-common python-software-properties
|
||||
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install gcc libleveldb-dev git curl make gcc-7 g++-7
|
||||
RUN ln -sf /usr/bin/gcc-7 /usr/bin/gcc
|
||||
RUN ln -sf /usr/bin/g++-7 /usr/bin/g++
|
||||
RUN git clone --recursive https://github.com/ethereum/cpp-ethereum --branch develop --single-branch --depth 1
|
||||
RUN mkdir /build && cd /build && cmake /cpp-ethereum -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTOOLS=Off -DTESTS=Off
|
||||
RUN ./cpp-ethereum/scripts/install_cmake.sh
|
||||
RUN mkdir /build && cd /build && ~/.local/bin/cmake /cpp-ethereum -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTOOLS=Off -DTESTS=Off
|
||||
RUN cd /build && make eth
|
||||
|
Loading…
Reference in New Issue
Block a user