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 #75
Dockerfile #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this like for which process?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should remove the comments if we don't need to RUN these commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should run sudo python ohp.py -m all and not only the api server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't want to support Python2 because it's officially stopped support so we can remove the packages and libraries for python2
I incorporated some of the suggested changes. Please take a look. |
@ChakshuGupta : looks good to me but could you explain why did you include to install wheel package via pip separately? |
@dhirensr I was getting the following error - And this package was not part of the requirements.txt files. Should I add it to the files instead? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChakshuGupta : I have left a review. let me know if you have any questions
@ChakshuGupta : I am getting errors when I am trying to install it via pip3 and not pip because in your file you have used pip install which uses python2 and not python3. |
@dhirensr Installing python requirements from the requirements.txt files were giving errors with pip3. That's why I left it with pip. I am trying to find a solution for that so everything can be with pip3. |
@ChakshuGupta : could you tell for which package are you getting errors? maybe it's a problem of python3 version |
terminable_thread is giving error - Collecting terminable_thread==0.7.1 (from -r requirements.txt (line 4))
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-aqpy_iyz/terminable-thread/ I have tried a lot of things.. I am not able to find a solution for this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to use docker-compose and also make sure to use docker-in-docker for a large project like this.
@abiusx Thank you for the feedback. I am new to docker. I'll look into docker-compose and docker-in-docker and update accordingly. |
Error- installing terminable-thread package
fix tmp thread naming.
fix bug in generate token.
fix naming the dir
Make it backward compatible
Replace tshark with pyshark library
docs should be added to wiki #117 |
Add Dockerfile to setup the development environment in a docker.