Skip to content

Commit

Permalink
Added condition linux/amd64 for "Fix OpenSSL3 crypto lib load of rest…
Browse files Browse the repository at this point in the history
… plugin" to Dockerfile
  • Loading branch information
embeddeddev committed Dec 4, 2023
1 parent 3820d95 commit 9b9aab9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Fix for OpenSSL 3 crypto library linkage
# 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 cd /usr/lib/x86_64-linux-gnu && ln -s libcrypto.so.3 libcrypto.so
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 \
Expand Down

0 comments on commit 9b9aab9

Please sign in to comment.