-
Notifications
You must be signed in to change notification settings - Fork 204
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
Add sample RQD Dockerfile with CUDA base image #1327
Add sample RQD Dockerfile with CUDA base image #1327
Conversation
General thought here -- the Dockerfile here seems to duplicate much of the standard RQD image, though I understand it's using a different base image. It's possible to have a Dockerfile which selectively copies files from another image using This would help keep this image in sync with the base RQD image. Otherwise we will make changes to the base RQD image and forget to update this one. Could you give that a try? |
I'm with Brian on the idea that it would be better if we could copy the rqd tarball from the base image |
Noted @bcipriano @DiegoTavares, that's a lot more efficient.
Actually, there are no other changes done on the Dockerfile other than the inclusion of the base CUDA image. Additionally, should add some documentation about this but not quite sure where. Perhaps as an amendment to the Deploying RQD page? |
Yeah, that's probably the best way as you'll just need to copy that single file, everything is self-contained. Will be stored as Once the file is copied you'll still need to do any steps needed to install and run RQD.
Hmm, how about this -- we have Customizing RQD, you could add a section there called like "Sample Dockerfiles" which links to the You could also add the Customizing RQD page to the Deploying RQD "What's Next?" section. That seems like it would flow nicely. |
For gRPC data and python scripts
@bcipriano, as suggested I implemented the
Turns out that the command only works when mounted to a GPU as in the
Noted. That sounds good, will get on it. Also, a couple of things to clarify:
|
Sorry for taking ages to reply to this:
|
No worries @DiegoTavares 😄. Took me a while to get back to this also.
Noted. This worked, thanks! |
Ping @DiegoTavares |
RUN yum -y install \ | ||
epel-release \ | ||
gcc \ | ||
python-devel \ | ||
time | ||
|
||
RUN yum -y install \ | ||
python36 \ | ||
python36-devel \ | ||
python36-pip |
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.
Use a single RUN command and add && yum clean all
to reduce the size of the end image
3084958
into
AcademySoftwareFoundation:master
…tion#1327) * Add sample RQD Dockerfile with CUDA base image * Import release tarball from prebuilt RQD image * Amend directory paths For gRPC data and python scripts * Resolve tarball version number
…tion#1327) * Add sample RQD Dockerfile with CUDA base image * Import release tarball from prebuilt RQD image * Amend directory paths For gRPC data and python scripts * Resolve tarball version number
Link the Issue(s) this Pull Request is related to.
Related to PR #1309.
As discussed in the mail thread Blender plugin development.
Summarize your change.
Adds a sample RQD Dockerfile with CUDA supported base image for GPU rendering.
Tested with new derived RQD Blender image.
Works in combination with Nvidia Container Toolkit.