Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image Build fails on Dev compose #198

Open
shreyas-dev opened this issue Nov 11, 2021 · 4 comments
Open

Docker Image Build fails on Dev compose #198

shreyas-dev opened this issue Nov 11, 2021 · 4 comments
Labels

Comments

@shreyas-dev
Copy link

Describe the bug
Failed to create a docker image using docker-compose -f docker-compose-dev.yml up -d .
Build fails with error Service 'cueo-backend' failed to build : Build failed

To Reproduce
Steps to reproduce the behavior:

  1. Git clone this repo
  2. Run docker-compose -f docker-compose-dev.yml up -d

Expected behavior
CueO components image to be built successfully and CueObserve to start running on localhost:3000

Additional context
Will add the entire log in the file or snippet below.

@shreyas-dev
Copy link
Author

Run Command: docker-compose -f docker-compose-dev.yml up -d | tee docker-compose-dev-error.log

docker-compose-dev-error.log

@vincue
Copy link
Contributor

vincue commented Nov 12, 2021

Can't reproduce, try building cueo-backend only:

  • Go to api directory
  • Run command docker build -t cueo-backend .

@shreyas-dev
Copy link
Author

shreyas-dev commented Nov 19, 2021

Steps followed

git checkout latest_release
cd api
docker build -t cueo-backend .

Same error is produced.

System: Mac OS x64 Intel Core i5

@shreyas-dev
Copy link
Author

Looks like the problem lies in building facebook's prophet once installed via pip (For only Mac users). Prophet internally uses pystan and the problem reciprocates from pystan.

https://github.com/facebook/prophet/issues?q=is%3Aissue+is%3Aopen+mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants