-
Notifications
You must be signed in to change notification settings - Fork 83
fix(docker): Include libmariadbcpp.so (required by spider_scheduler and spider_worker) in the clp-package image; Set mariadb-connector-cpp build type to Release (fixes #1410).
#1414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ef046e5
cfa71d8
f83a4b6
24db721
b19b1ec
42fba6c
99d353a
8580b7a
b345b02
7c028f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,7 +18,8 @@ COPY --link --from=base / / | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| ARG UID=1000 | ||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
if you want to mimic a real user home working environment. I think it would be beneficial to pass in the user id and group id of the github CI runner that builds and runs this package.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But if your system works as is, I don't really see a problem with it.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good point. the changes on the user creation were actually done by another PR #1413 . since this PR aims to only make the spider binaries work, let's do the group creation in another PR. @coderabbitai add an issue to track the group creation in the docker image
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: Length of output: 42 @junhaoliao I've created issue #1508 to track the group creation improvements for the Docker image: #1508 The issue has been assigned to you and includes references back to this PR and the discussion. Good call on keeping this PR focused on the spider binaries functionality! |
||||||||||||||||||||||
| ENV CLP_HOME="/opt/clp" | ||||||||||||||||||||||
| ENV PATH="${CLP_HOME}/sbin:${CLP_HOME}/bin:${PATH}" \ | ||||||||||||||||||||||
| ENV LD_LIBRARY_PATH="${CLP_HOME}/lib" \ | ||||||||||||||||||||||
| PATH="${CLP_HOME}/sbin:${CLP_HOME}/bin:${PATH}" \ | ||||||||||||||||||||||
| PYTHONPATH="${CLP_HOME}/lib/python3/site-packages" \ | ||||||||||||||||||||||
| USER="clp-user" | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
@@ -27,3 +28,5 @@ USER ${USER} | |||||||||||||||||||||
| WORKDIR ${CLP_HOME} | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| COPY --link --chown=${UID} ./build/clp-package ${CLP_HOME} | ||||||||||||||||||||||
| COPY --link --chown=${UID} ./build/deps/cpp/mariadb-connector-cpp-install/lib/*/libmariadbcpp.so* \ | ||||||||||||||||||||||
| ${CLP_HOME}/lib/ | ||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.