These are the steps to make a Docker image for an Edgeware node
- in the
Dockerfilein the root directory make sure that at the top you are using
FROM paritytech/ci-linux:production as builderotherwise, it will not build.
Add a caption
- Run command
docker build .Then it will start building it will take a while about 30minutes.
- Make sure you have a docker hub account and that you are signed in on the docker app
- Once it is completed rename the image by running
docker imagesto check for the image id then run the command
image tag <image id> <your-name>/edgeware-node:v3.3.3this will rename it once you are happy with the name to push to docker hub run command
docker push <your-name>/edgeware-node:v3.3.3
If the above image failed to compile
edgeware-cli, then it's because your machine doesn't have enough memory, or your docker doesn't have enough memory available. Try and increase Docker's available memory by a few notches, by going to Docker Desktop settings.