{"id":23663756,"url":"https://github.com/tahv/docker-mayapy","last_synced_at":"2025-12-06T12:30:15.789Z","repository":{"id":186201878,"uuid":"524960914","full_name":"tahv/docker-mayapy","owner":"tahv","description":"Autodesk Maya images","archived":false,"fork":false,"pushed_at":"2024-05-12T08:55:23.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-12T14:58:39.824Z","etag":null,"topics":["maya","mayapy","python"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/tahv/mayapy","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tahv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-15T11:29:44.000Z","updated_at":"2024-05-29T22:27:26.232Z","dependencies_parsed_at":null,"dependency_job_id":"9335b136-632e-4835-ab34-564e6aab2e5c","html_url":"https://github.com/tahv/docker-mayapy","commit_stats":null,"previous_names":["tahv/docker-mayapy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahv%2Fdocker-mayapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahv%2Fdocker-mayapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahv%2Fdocker-mayapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahv%2Fdocker-mayapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tahv","download_url":"https://codeload.github.com/tahv/docker-mayapy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239662729,"owners_count":19676435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["maya","mayapy","python"],"created_at":"2024-12-29T05:33:05.411Z","updated_at":"2025-12-06T12:30:15.733Z","avatar_url":"https://github.com/tahv.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-mayapy\n\nAutodesk Maya images on `ubuntu:22.04`.\n\n## Supported tags\n\n- [`2025`, `latest`](https://github.com/tahv/docker-mayapy/blob/main/2025/Dockerfile) (Python `3.11.4`)\n- [`2024`](https://github.com/tahv/docker-mayapy/blob/main/2024/Dockerfile) (Python `3.10.8`)\n- [`2023`](https://github.com/tahv/docker-mayapy/blob/main/2023/Dockerfile) (Python `3.9.7`)\n- [`2022`](https://github.com/tahv/docker-mayapy/blob/main/2022/Dockerfile) (Python `3.7.7`)\n\n## Reference\n\n- Github: [https://github.com/tahv/docker-mayapy](https://github.com/tahv/docker-mayapy)\n- Docker Hub: [https://hub.docker.com/r/tahv/mayapy](https://hub.docker.com/r/tahv/mayapy)\n\n## Usage\n\n### Interactive\n\nRun in interactive mode.\n\n```bash\ndocker run -it --rm tahv/mayapy:latest\n```\n\nStart `mayapy` inside the container.\n\n```python\n$ mayapy\n\u003e\u003e\u003e import maya.standalone\n\u003e\u003e\u003e maya.standalone.initialize()\n\u003e\u003e\u003e from maya import cmds\n\u003e\u003e\u003e from maya.api import OpenMaya\n```\n\n### As Github workflow\n\nUse `tahv/mayapy` as your job `image`.\n\n```yaml\nname: Mayapy\n\non: [push]\n\njobs:\n   build:\n    name: Mayapy\n    runs-on: ubuntu-latest\n    container:\n      image: tahv/mayapy:latest\n    steps:\n      - name: Print Maya version\n        run: mayapy -c \"import maya.standalone; maya.standalone.initialize(); from maya import cmds; print(cmds.about(v=True))\"\n```\n\nOr use a matrix to run on multiple versions.\n\n```yaml\nname: Mayapy\n\non: [push]\n\njobs:\n  build:\n    name: Mayapy ${{ matrix.maya-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        maya-version:\n          - \"2022\"\n          - \"2023\"\n          - \"2024\"\n          - \"2025\"\n    container:\n      image: tahv/mayapy:${{ matrix.maya-version }}\n    steps:\n      - name: Print Maya version\n        run: mayapy -c \"import maya.standalone; maya.standalone.initialize(); from maya import cmds; print(cmds.about(v=True))\"\n```\n\n## Notes\n\n### Installed softwares\n\nPre-installed:\n\n- `git`\n- `wget`\n\n`/usr/autodesk/maya/bin` is added to `PATH`, exposing:\n\n- `pip` (invoke it with `python -m pip`)\n- `mayapy`\n- `python` (symlink of `mayapy`)\n\n### Installed libraries\n\nAdditional libraries are installed following Autodesk documentation.\n\n- 2025:\n  [Required libraries](https://help.autodesk.com/view/MAYAUL/2025/ENU/?guid=GUID-D2B5433C-E0D2-421B-9BD8-24FED217FD7F);\n  [Installing on Ubuntu](https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/5ZZjP3R0R7hzPyhDYkd8IS.html).\n- 2024: \n  [Required libraries](https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-D2B5433C-E0D2-421B-9BD8-24FED217FD7F);\n  [Installing on Ubuntu](https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/4EQDDcHqJbfBkQr3i0FrbQ.html).\n- 2023:\n  [Required libraries](https://help.autodesk.com/view/MAYAUL/2023/ENU/?guid=GUID-D2B5433C-E0D2-421B-9BD8-24FED217FD7F);\n  [Installing on Ubuntu](https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/77DVRQ8wFRltRxWlSY4HVt.html).\n- 2022:\n  [Required libraries](https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-D2B5433C-E0D2-421B-9BD8-24FED217FD7F);\n  [Installing on Ubuntu](https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/653FjR7SuamMJ5Y4v9XkXg.html).\n\n\n### libxp6\n\n`libxp6` is installed from [ppa:zeehio/libxp](https://launchpad.net/~zeehio/+archive/ubuntu/libxp)\nas recommanded by [Autodesk](https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/5ZZjP3R0R7hzPyhDYkd8IS.html).\n\nThe archive has removed `libxp6` because it is obsolete and the last build is on Ubuntu 22.04.\n\n### Removed directories\n\n- `/usr/autodesk/maya/Examples` is removed from the images to save ~1G of space.\n\n### Exit code\n\nMaya will [set the exit code to 0](https://forums.autodesk.com/t5/maya-programming/wrong-exit-code-with-mayapy/td-p/8460077)\nwhen standalone crashes. \nAll images set `MAYA_NO_STANDALONE_ATEXIT=1` to make maya return a non 0 exit code.\n\n### Disabling analytics\n\nAll images set `MAYA_DISABLE_ADP=1` to opt-out of analytics \nwhen starting Maya in batch mode, which can cause a hang on close.\n\n## Development\n\nClone the repo, cd into it and build an image from one of the directories.\n\n```bash\ngit clone https://github.com/tahv/docker-mayapy\ncd docker-mayapy\ndocker build --platform linux/amd64 -t tahv/mayapy:2025 2025\ndocker run -it --rm mayapy:2025\n```\n\n### Debugging\n\n\u003e Debugging tips for creating new images, in no particular order.\n\nList missing dependencies.\n\n```bash\nldd /usr/autodesk/maya/lib/* 2\u003e /dev/null | sed -nE 's/\\s*(.+) =\u003e not found/\\1/p' | sort --unique\n```\n\nSet this variable to make Qt print out diagnostic information \nabout each plugin it tries to load.\n\n```bash\nexport QT_DEBUG_PLUGINS=1\n```\n\nRead Maya `ubuntu_README.txt` for information on how to fix potential versioning issues\nwith `libssl` and `libcrypto`.\n\n```bash\ncat /usr/autodesk/maya/support/python/*/ubuntu_README.txt\n```\n\nInitialize Maya and load plugins to catch missing dependencies.\n\n```bash\nmayapy -c \"import maya.standalone; maya.standalone.initialize(); from maya import cmds; cmds.loadPlugin('fbxmaya'); cmds.loadPlugin(a=True)\"\n```\n\n\u003c!--\nQt5 dependencies: [](https://wiki.qt.io/Qt5_dependencies)\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahv%2Fdocker-mayapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftahv%2Fdocker-mayapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahv%2Fdocker-mayapy/lists"}