docker: Add profiling support to graph-node-debug image#6418
Merged
incrypto32 merged 1 commit intomasterfrom Mar 5, 2026
Merged
docker: Add profiling support to graph-node-debug image#6418incrypto32 merged 1 commit intomasterfrom
incrypto32 merged 1 commit intomasterfrom
Conversation
Build with frame pointers enabled for all builds. Rebase graph-node-debug on the slim runtime image instead of the full Rust build stage, add linux-perf for CPU profiling alongside existing debug tools. Remove unused objcopy debug link dance from production build since the .debug file was never copied to the final image.
313da2d to
e8bfe78
Compare
lutter
approved these changes
Mar 4, 2026
| RUN apt-get update \ | ||
| && apt-get install -y curl gdb postgresql-client linux-perf procps binutils | ||
| COPY docker/Dockerfile /Dockerfile | ||
| COPY docker/bin/* /usr/local/bin/ |
Collaborator
There was a problem hiding this comment.
Maybe we should also copy /etc/image-info to help identify what exact graph-node version is in the image
Member
Author
There was a problem hiding this comment.
Its already inherited from the graph-node base stage
c41e490 to
e8bfe78
Compare
incrypto32
added a commit
that referenced
this pull request
Mar 5, 2026
Build with frame pointers enabled for all builds. Rebase graph-node-debug on the slim runtime image instead of the full Rust build stage, add linux-perf for CPU profiling alongside existing debug tools. Remove unused objcopy debug link dance from production build since the .debug file was never copied to the final image.
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.
graph-node-debugon slim runtime, addlinux-perf