zeel2104 commented on issue #2977: URL: https://github.com/apache/hugegraph/issues/2977#issuecomment-4115221675
Hey @imbajin, I’d like to work on this. For Phase A, I’m planning to start with improving the .dockerignore across pd, store, and server to avoid unnecessary cache invalidation (e.g., excluding .git, IDE files, logs, target dirs, etc.). Then I’ll refactor the Dockerfiles (pd, store, server, and hstore) to copy dependency related files (like pom.xml) before the source code so Docker can cache dependencies more effectively. I’ll also add BuildKit cache mounts for Maven (--mount=type=cache,target=/root/.m2) to avoid re downloading dependencies on each build. For validation, I’ll run two builds back to back without Java changes and include a before/after comparison in the PR. I won’t be changing any runtime behavior (entrypoints, ports, etc.). Let me know if that approach sounds good! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
