- On another directory on this machine clone the lgn-coprocessor repo
cd $HOME
git clone https://github.com/Lagrange-Labs/lgn-coprocessor.git
cd lgn-coprocessor
- Checkout to the right version
#For testnet
git checkout v1.1.2
#For mainnet
git checkout v1.0.2
- Build the docker
docker build -t lgn-coprocessor:local -f docker/worker/Dockerfile .
- Once the build is done, cd back to the worker directory from this repo. and
- Edit the docker-compose.yaml file. Change the
image:
line with image: lgn-coprocessor:local
- Replace
pull_policy: always
to pull_policy: never
- Go back to the main step by step and continue from where you left, to generate the Lagrange key