-
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 3 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 |
|---|---|---|
|
|
@@ -10,15 +10,17 @@ RUN ./setup-scripts/install-prebuilt-packages.sh \ | |
| RUN apt-get clean \ | ||
| && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
|
||
| ENV CLP_HOME="/opt/clp" | ||
| ENV PATH="${CLP_HOME}/bin:${PATH}" | ||
| ENV PATH="${CLP_HOME}/sbin:${PATH}" | ||
| ENV PYTHONPATH="${CLP_HOME}/lib/python3/site-packages" | ||
|
|
||
| USER 1000:1000 | ||
|
|
||
| COPY ./build/clp-package /opt/clp | ||
| COPY --link ./build/deps/cpp/mariadb-connector-cpp-install/lib/*/libmariadbcpp.so* /opt/clp/lib/ | ||
|
|
||
| # Flatten the image | ||
| FROM scratch | ||
| COPY --from=base / / | ||
|
|
||
| ENV CLP_HOME="/opt/clp" | ||
| ENV LD_LIBRARY_PATH="${CLP_HOME}/lib" \ | ||
| PATH="${CLP_HOME}/bin:${PATH}" \ | ||
| PYTHONPATH="${CLP_HOME}/lib/python3/site-packages" | ||
| ENV PATH="${CLP_HOME}/sbin:${PATH}" | ||
|
||
|
|
||
| USER 1000:1000 | ||
Uh oh!
There was an error while loading. Please reload this page.