Update Dockerfile for current dependencies and headless rendering - #172
Open
cedrichld wants to merge 2 commits into
Open
Update Dockerfile for current dependencies and headless rendering#172cedrichld wants to merge 2 commits into
cedrichld wants to merge 2 commits into
Conversation
- Install the Qt6/OpenGL system libraries the pyqt6 renderer needs - Drop the stale nvidia-docker env vars and manual PyOpenGL installs - Render offscreen by default (QT_QPA_PLATFORM=offscreen) - Smoke-test the env during the build, baking in the default track - Add a .dockerignore and refresh the README Docker section
PyQt6 releases after 6.7.1 only ship aarch64 wheels for glibc >= 2.39, so on Ubuntu 22.04 (glibc 2.35) pip falls back to the sdist and fails looking for qmake. Seen building the image on Apple Silicon.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Dockerfile predated the PyQt6/pyqtgraph renderer and the current
pyproject.toml, so the image no longer produced a working environment.pyproject.toml).QT_QPA_PLATFORM=offscreen), overridable atdocker runfor GUI use.rgb_arrayframe offscreen. This also bakes the default track into the image, so the container works offline..dockerignoreand refresh the README Docker section.The existing Docker CI workflow picks up the smoke test automatically, since it runs the build.
🤖 Generated with Claude Code