dispatch icon indicating copy to clipboard operation
dispatch copied to clipboard

Issue with new release cant able to build core image symlinks error

Open csetarun2 opened this issue 4 years ago • 5 comments

Im trying to build new release disptach application, when I execute the ./install.sh Im getting below error, I have tried 2 different server where I build dispatch app successfully with prev version..

(Vm1) image

VM2: Creating volumes for persistent storage... Created dispatch-postgres.

Generating SECRET_KEY... SECRET_KEY written to ./.env Generating DISPATCH_JWT_SECRET... DISPATCH_JWT_SECRET written to ./.env

Pulling, building, and tagging Docker images...

Pulling postgres ... done postgres uses an image, skipping web uses an image, skipping scheduler uses an image, skipping Building core ERROR: Cannot locate specified Dockerfile: Dockerfile Cleaning up...

can you please check once

csetarun2 avatar Nov 16 '22 16:11 csetarun2

I have downloaded the release source code, there Dockerfile was missing (no docker folder) image

can you please check once @mvilanova @kevgliss

csetarun2 avatar Nov 16 '22 16:11 csetarun2

This was fixed in #2697. Depending on your use case for docker you can either use the new Dockerfile that was included in that release (now under .devcontainer) or pull the latest version from master that includes the fix from #2697. We will likely deprecate the docker folder at some point in favor .devcontainer but reverted the change because we had not yet update the documentation.

kevgliss avatar Nov 16 '22 17:11 kevgliss

Thanks @kevgliss , but how should I build the image now, can you share the steps, currently as per documentation Im following these steps step1: git clone https://github.com/Netflix/dispatch-docker.git step2: ./install.sh Then getting above issue, Please correct me If Im wrong, How to properly clone/run the code ?

csetarun2 avatar Nov 16 '22 18:11 csetarun2

Yes, by default install.sh points to the latest released revision. Until we release a new version with #2697 you will have to change this line:

https://github.com/Netflix/dispatch-docker/blob/master/docker-compose.yml#L22 to context: https://github.com/Netflix/dispatch.git#master

kevgliss avatar Nov 16 '22 19:11 kevgliss

Thanks @kevgliss for your help :)

csetarun2 avatar Nov 17 '22 09:11 csetarun2