-
Notifications
You must be signed in to change notification settings - Fork 690
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 enhancements #172
Dockerfile enhancements #172
Conversation
Maybe, we could also add a brief usage description in the readme. It could state that the image is built as follows: |
@LukasBommes, we have a section in the documentation explaining how to develop on docker. Would it be an idea to include these descriptions as well as linking the dataset as you mentioned in the issue? What do you think? |
The "Developing on Docker" section seems a good place. I will add the usage comment there. The dataset is downloaded when running |
Actually, the "Developing on Docker" section could be cleaned up a bit. In my opinion it is uneccessary to describe the use of the VSCode Remote-Containers extension. I'd just put the bare minimum of shell commands for building and running the container there. If someone wants to use the VSCode extension, then he could refer to the respective doumentation in VSCode. |
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.
Thanks for looking into this! The original image was created for the gitlab runner but it has been deprecated. It is a good idea to decouple bare minimum development environment and the rest of the code and dataset. Mapping directory makes sense at this point. Also, I like the idea of forwarding X11 to host machine. Can you add it to the documentation/create a ticket for it?
Description
Improves the Dockerfile. This fixes issue #171.
I removed the caching of the MVTec dataset, since it is anyway downloaded upon calling
tools/train.py
. Furthermore, anomalib is installed inside the image.Changes
Checklist