Open thesaadmemon opened 6 years ago
@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: - ./install_mongodb.sh MongoDB and C++ driver installed
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