How to access path from Docker image? #25933
-
Ciao, I am using a docker image for the 3D software Autodesk Maya: mottosso/docker-mayaDockerfile for Maya. Contribute to mottosso/docker-maya development by creating an account on GitHub. Eventually I need to access Maya’s Python. On Linux machines that’s usually: My best guess so far is:
But for the love of god I can’t access/find where that image was installed, or how to access Hopefully I didn’t just make a fool of myself :slight_smile: Started using GitHub’s Actions a couple days ago. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi @mischakolbe, Glad to see you in Github Community Forum! You can use To access /user/autodesk/maya folder, please use below format:
My workflow for your reference. I notice the mayapy is set as the default python, you can simply pass the command to the docker image.
Thanks. |
Beta Was this translation helpful? Give feedback.
-
You absolute legend, @weide-zhou! Thank you so, so much!! With a couple extra tests this setup is now more streamlined than ever before. If someone told me 1 week ago that this could be all that I need for CI I would have thought they’re nuts:
I noticed too, that Out of curiosity: |
Beta Was this translation helpful? Give feedback.
-
For the very unlikely case someone else needs to test Maya code; this is my latest version. It’s a bit shabby, because I couldn’t get the
|
Beta Was this translation helpful? Give feedback.
-
Hi @mischakolbe, Thanks for your reply and Glad to know it works for you!
variables are not accepted in the You can mark your answer as a solution since it’s resolved now. Thanks |
Beta Was this translation helpful? Give feedback.
-
I marked my last response as the solution. I read a few things about variables in Thank you so much for all your help, @weide-zhou! |
Beta Was this translation helpful? Give feedback.
-
For anyone interested; I wrote a blog post about the pretty straight forward setup I managed to put in place: Continuous Integration for Maya ScriptsLearn how to automatically validate your Maya Python scripts with GitHub Actions and unittests. |
Beta Was this translation helpful? Give feedback.
For anyone interested; I wrote a blog post about the pretty straight forward setup I managed to put in place:
Mischa Kolbe – 26 Jul 20Continuous Integration for Maya Scripts
Learn how to automatically validate your Maya Python scripts with GitHub Actions and unittests.