Make sure you have docker and docker-compose installed.
Open docker-compose.yml
and modify the args to change
- EOSIO version
- EOSIO.CDT version
- version of system contracts
Run the following command to build system contracts.
docker-compose up
The SHA256 hash of eosio.system
will be printed.
Docker images for EOSIO and EOSIO.CDT are provided on Docker Hub. You can also choose to build them on your machine.
cd eosio
docker build -t eostudio/eos:{version} --build-arg release={version} .
where {version}
is the version of EOSIO (e.g. v2.0.0-rc
).
cd eosio.cdt
docker build -t=eostudio/eosio.cdt:{version} --build-arg release={version} .
where {version}
is the version of EOSIO.CDT (e.g. v1.6.3
).
A docker image with cmake, g++ & git installed
cd cmake
docker build -t=eostudio/cmake .