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 support for managing dependencies #30

Open
p-ranav opened this issue Feb 22, 2021 · 1 comment
Open

Docker support for managing dependencies #30

p-ranav opened this issue Feb 22, 2021 · 1 comment

Comments

@p-ranav
Copy link

p-ranav commented Feb 22, 2021

It would really help if you could setup docker support for this project.

  • The TrainAndTest python module requires python2 and a host of dependencies. If I could pull a docker container with all these dependencies, it would make life much easier - I could docker pull and run python main.py db ... or python main.py net ... with no additional effort
  • Similarly, you could build off of a ROS docker container for the DeepLCD C++ code. Having a docker container would help tremendously.

If you provide a Dockerfile, the typical usage for the user would be:

$ git clone https://github.com/rpng/calc
$ cd calc/TrainAndTest # Assuming there is a Dockerfile here
$ docker build calc/train:1.0 .
$ docker run -it --volume="/home/foo/bar/calc:/home/root/calc" calc/train:1.0 bin/bash
root@ubuntu:/# cd /home/root/calc/TrainAndTest
root@ubuntu:/# python main.py -h

Here is an example docker file for voxblox.

@Godm
Copy link

Godm commented Jan 17, 2024

您好,请问怎么用docker跑calc项目呀?dockerfile该怎么去写呀?

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

No branches or pull requests

2 participants