Skip to content

Instantly share code, notes, and snippets.

@kesar
Created June 10, 2019 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kesar/6e3b68cc965cdc39b47d5c27c7956ff7 to your computer and use it in GitHub Desktop.
Save kesar/6e3b68cc965cdc39b47d5c27c7956ff7 to your computer and use it in GitHub Desktop.
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