-
Notifications
You must be signed in to change notification settings - Fork 879
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
Dockerfile Compilation Error on MongoDB Module Ubuntu 14.04 #228
Comments
@KamalGalrani Can you advise something? |
The docker version isn't maintained. Try the local build. Though the local build hasn't been maintained in a long time either but it should work |
@KamalGalrani Local build works fine for me, but I'm trying to deploy the docker image in Kubernetes cluster. I think this is almost the last stage for docker compilation. Any valuable suggestion would be appreciated. Thank You. |
In that case I would suggest you create a docker image from scratch. There had been many major changes to lucida after docker image was last updated. Finding those changes and updating dockerfile accordingly will be difficult. @saijel can you have a look |
I already tried to update the current Dockerfile from Scratch. I guess MongoDB is only causing problem. @KamalGalrani Thanks for your help. |
However, if I compile the particular file (./install_mongodb.sh) it succeeds. Log: - |
I found that it is not a compilation problem, because the installCheck function inside install_mongodb.sh just checks that the MongoDB server is running. So you shoud add this line after line 26: apt-get install -y mongodb-server Additionally, you should replace service mongod start with service mongodb start |
Hi,
I am compiling new Docker image of Lucida at Ubuntu 14.04. It gets stuck at the last step of ./install-mongodb.sh
Log: -
Install file: "src/mongo/util/time_support.h" as "/usr/local/include/mongo/util/time_support.h"
Chmod("/usr/local/include/mongo/util/time_support.h", 0644)
Creating 'build/linux2/c++11_on/ssl/mongo/version.h'
Install file: "build/linux2/c++11_on/ssl/mongo/version.h" as "/usr/local/include/mongo/version.h"
Chmod("/usr/local/include/mongo/version.h", 0644)
scons: done building targets.
terminate called after throwing an instance of 'mongo::SocketException'
what(): socket exception [FAILED_STATE] for localhost:27017 (127.0.0.1) failed
Failed to install MongoDB and C++ driver
The command '/bin/sh -c /bin/bash install_mongodb.sh' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: