massa
massa copied to clipboard
Add Dockerfile and DockerCompose
Running the massa node into a docker container.
build.sh script is used to build image and run container.
cd docker && ./build.sh <Tag>
Define variable values in docker-compose specification and run:
docker-compose up -d
Hello ! Thank you for your contribution.
Sorry for the delay, we are focusing on correcting the remaining bugs for testnet 15. We will review this PR after the delivery of testnet 15.
Hello Sorry @MichaelTMS for the delay. If you are still interested in working on this, I tried to launch ./build.sh 16.0
and I had the following error :
❯ ./build.sh 16.0
Building massa-node docker image
Dockerfile: /Users/xxx/massa/docker/Dockerfile
docker context: /Users/xxx/massa/docker
build date: 2022-11-22
image tag: 16.0
sed: 1: "/Users/xxx ...": command a expects \ followed by text
Hello. Which operating system is used when building the docker image?
I'm on MacOS 12 on a M1
Corrected the sed command for MacOS. Please try to build docker image
Still have the same error :/ :
Building massa-node docker image
Dockerfile: /Users/xxx/massa/docker/Dockerfile
docker context: /Users/xxx/massa/docker
build date: 2022-11-23
image tag: 16
sed: 1: "/Users/xxx ...": command a expects \ followed by text
I still have the same error. Will try to make it work as soon as I have a bit of time.