Skip to content

Add Dockerfile + usage notes#7

Draft
nuclearpidgeon wants to merge 1 commit intoKobzol:masterfrom
nuclearpidgeon:docker
Draft

Add Dockerfile + usage notes#7
nuclearpidgeon wants to merge 1 commit intoKobzol:masterfrom
nuclearpidgeon:docker

Conversation

@nuclearpidgeon
Copy link
Copy Markdown
Contributor

I've raised this as a draft PR because there's still some final fiddling to do with the build directory paths involved with my approach of bind-mounting the code of the app into the container, but also keeping the GDB build work inside the container. I think if the app can have the build dir passed as an env var for finding the relevant built files that will make it all work - relevant lines below:

GDB_PATH = util.get_root_path("build/gdb-build/gdb")

shlib_path = util.get_root_path("build/debugger/liballochook.so")

Screenshot proof it works!

image

@nuclearpidgeon
Copy link
Copy Markdown
Contributor Author

Ah and another thing before I forget... the python code can do with this added at the start of execution:

import gi
gi.require_version('Gtk', '3.0')

And possibly also:

gi.require_version('Gdk', '3.0')
gi.require_version('GtkSource', '3.0')

This is more relevant when trying to run on a more modern OS though, where there's GTK4 and GDK4 available that can end up taking precedence.

@Kobzol
Copy link
Copy Markdown
Owner

Kobzol commented Apr 7, 2026

Yay! Thanks for keeping my bachelor thesis buildable even in 2026 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants