Skip to content

Commit

Permalink
build: dangerous workaround for openresty build with openssl3
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste committed Jun 5, 2024
1 parent e23efe1 commit f9847a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ADD make_openblas_pc.sh /root
RUN chmod +x /root/make_openblas_pc.sh && /root/make_openblas_pc.sh
RUN yum -y install initscripts vim coreutils-common cronie
RUN mv /usr/lib64/libjson-c.so.4.0.0 /usr/lib64/libjson-c.so.4.0.0.new && cp -R /usr/lib64/libjson-c.so.4.0.0.ori /usr/lib64/libjson-c.so.4.0.0
RUN cd /usr/lib64 && ln -s /opt/metwork-mfext/opt/core/lib/libssl.so libssl.so && ln -s /opt/metwork-mfext/opt/core/lib/libcrypto.so libcrypto.so
#Below a (dangerous) workaround to allow build of openresty with built-in openssl
RUN chmod 777 /usr/lib64
COPY root /
RUN /build/s6_overlay.sh && \
yum clean all && \
Expand Down

0 comments on commit f9847a3

Please sign in to comment.