Skip to content

Commit

Permalink
Also add glibc compat to latest image
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Feb 13, 2024
1 parent 9880911 commit 22dea3f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/docker-images/latest-version-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ RUN cd META-INF/bundled-dependencies && curl -sSL https://search.maven.org/remot

RUN jar uf connectors/pulsar-io-debezium-oracle-*.nar META-INF/bundled-dependencies/ojdbc8-19.3.0.0.jar META-INF/bundled-dependencies/ucp-19.3.0.0.jar META-INF/bundled-dependencies/oraclepki-19.3.0.0.jar META-INF/bundled-dependencies/osdt_cert-19.3.0.0.jar META-INF/bundled-dependencies/osdt_core-19.3.0.0.jar META-INF/bundled-dependencies/simplefan-19.3.0.0.jar META-INF/bundled-dependencies/orai18n-19.3.0.0.jar META-INF/bundled-dependencies/xdb-19.3.0.0.jar META-INF/bundled-dependencies/xmlparserv2-19.3.0.0.jar

## Kinesis producer library is based on a C++ binary linked with Glibc
## Install compatibility library
RUN echo 'https://storage.sev.monster/alpine/edge/testing' | tee -a /etc/apk/repositories \
&& wget https://storage.sev.monster/alpine/edge/testing/x86_64/sevmonster-keys-1-r0.apk \
&& apk add --no-cache --allow-untrusted ./sevmonster-keys-1-r0.apk \
&& apk update \
&& apk add gcompat \
&& rm /lib/ld-linux-x86-64.so.2 \
&& apk add --no-cache --force-overwrite glibc glibc-bin \
&& rm *.apk

# Fix permissions for filesystem offloader
RUN mkdir -p pulsar
RUN chmod g+rwx pulsar
Expand Down

0 comments on commit 22dea3f

Please sign in to comment.