From 3baace7b87b59476822f6e1c2ae732d3c7df6413 Mon Sep 17 00:00:00 2001 From: embeddeddev <4710111+embeddeddev@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:12:38 +0100 Subject: [PATCH] Fix OpenSSL3 crypto lib load of rest plugin (#223) * Fix OpenSSL3 crypto lib load of rest plugin * Added condition linux/amd64 for "Fix OpenSSL3 crypto lib load of rest plugin" to Dockerfile --- docker/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4237b27..9bd1866 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -64,6 +64,11 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +# Fix for OpenSSL 3 crypto library linkage on linux/amd64 (status of other platforms unknown) +# (pairing w/ install code will not work otherwise and no errors regarding load library failures are logged) +RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ] ; then \ + cd /usr/lib/x86_64-linux-gnu && ln -s libcrypto.so.3 libcrypto.so ; fi + # Workaround required on amd64 to address issue #292 RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ] ; then \ apt-get update && \