Skip to content
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

Move protoc-base to ubuntu based, to fix compatibility with cpp-client-base. #102

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

jcferretti
Copy link
Member

@jcferretti jcferretti commented Nov 9, 2023

The cpp-client-base image had moved already to be ubuntu based, out of plans to factor out commonality with some dockerized builds on the DHE side: the plan is to use the cpp-client-base dockerfile from DHE to avoid duplication in DHE dockerized builds.

The issue that the PR that did that introduced, which Devin noticed (thanks!), is that this in the current protoc-base image:

COPY --link --from=cpp-client-base /opt/deephaven/bin/grpc_cpp_plugin /opt/cpp/grpc_cpp_plugin

triggers an issue because the plugin binary, being produced on ubuntu now, can't run in the debian-based protoc due to shared libraries incompatibilities:

/opt/cpp/grpc_cpp_plugin: error while loading shared libraries: libprotoc.so.31: cannot open shared object file: No such file or directory
--cpp_grpc_out: protoc-gen-cpp_grpc: Plugin failed with status code 127.

@jcferretti jcferretti marked this pull request as ready for review November 9, 2023 22:01
@jcferretti jcferretti merged commit 47f51e7 into deephaven:main Nov 9, 2023
devinrsmith added a commit to devinrsmith/deephaven-core that referenced this pull request Nov 9, 2023
Update some unit testing gradle wrapper versions to ensure gradle works with OpenJDK 21

deephaven/deephaven-server-docker#69
deephaven/deephaven-server-docker#70

Not updating cpp or protoc base, see

deephaven/deephaven-base-images#102
deephaven#4805
devinrsmith added a commit to deephaven/deephaven-core that referenced this pull request Nov 10, 2023
Update some unit testing gradle wrapper versions to ensure inner-gradle works with OpenJDK 21

deephaven/deephaven-server-docker#69
deephaven/deephaven-server-docker#70

Not updating cpp or protoc base, see

deephaven/deephaven-base-images#102
#4805
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.

1 participant