Skip to content

Commit

Permalink
Fix OpenSSL3 crypto lib load of rest plugin (#223)
Browse files Browse the repository at this point in the history
* Fix OpenSSL3 crypto lib load of rest plugin

* Added condition linux/amd64 for "Fix OpenSSL3 crypto lib load of rest plugin" to Dockerfile
  • Loading branch information
embeddeddev authored Dec 5, 2023
1 parent 658b07f commit 3baace7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 3baace7

Please sign in to comment.