Created
June 10, 2019 12:38
-
-
Save kesar/6e3b68cc965cdc39b47d5c27c7956ff7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
ARG release=latest | |
ARG eosbranch=v1.6.4 | |
ARG eoscdtbranch=v1.6.1 | |
ARG token=EOS | |
ENV OPENSSL_ROOT_DIR /usr/include/openssl | |
RUN apt-get update -y \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y cmake build-essential sudo git libcurl4-openssl-dev libusb-1.0-0-dev openssl ca-certificates curl wget \ | |
&& git clone --recursive https://github.com/eosio/eos --branch $eosbranch --single-branch \ | |
&& cd eos && echo 1 | ./eosio_build.sh -s $token && ./eosio_install.sh \ | |
&& cd .. && rm -rf eos* \ | |
&& git clone --recursive https://github.com/eosio/eosio.cdt --branch $eoscdtbranch --single-branch \ | |
&& cd eosio.cdt && ./build.sh -y && ./install.sh \ | |
&& cd .. && rm -rf eos* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment