HyperCore-Team / dockerized-testnet

4 stars 3 forks source link

Updated setup process #5

Open sol-znn opened 1 year ago

sol-znn commented 1 year ago

While attempting to setup dockerized-testnet, I encountered an error when I ran docker-compose build.

Step 5/9 : RUN   cd /app/repos/orchestrator/   && go mod tidy   && make   && cp ./orchestrator /usr/local/bin/
 ---> Running in 046abe47b794
go: downloading <dependencies>...
go build --ldflags '-extldflags "-Wl,--allow-multiple-definition"' -o /app/repos/orchestrator/build/orchestrator main.go
cp: cannot stat './orchestrator': No such file or directory
The command '/bin/sh -c cd /app/repos/orchestrator/   && go mod tidy   && make   && cp ./orchestrator /usr/local/bin/' returned a non-zero code: 1
ERROR: Service 'seeder' failed to build : Build failed

I also updated the build process to automatically populate the ./data/repos/ directories. Good idea, @0x3639 :) https://github.com/HyperCore-Team/dockerized-testnet/issues/2