copy libolm without version

This commit is contained in:
ezkrg
2021-06-11 21:33:18 +02:00
parent 9059f87b25
commit e3adfa3528
2 changed files with 433 additions and 2 deletions

View File

@@ -284,7 +284,7 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& make install \
&& strip /usr/lib/purple-2/libmatrix.so; \
else mkdir -p /usr/lib/purple-2 \
&& ln -sf /nowhere /usr/local/lib/libolm.so.3.1.4 \
&& ln -sf /nowhere /usr/local/lib/libolm.so \
&& ln -sf /nowhere /usr/lib/purple-2/libmatrix.so; \
fi
@@ -384,7 +384,7 @@ COPY --from=mastodon-build /usr/lib/bitlbee/mastodon.la /tmp/usr/lib/bitlbee/mas
COPY --from=mastodon-build /usr/share/bitlbee/mastodon-help.txt /tmp/usr/share/bitlbee/mastodon-help.txt
COPY --from=mastodon-build /tmp/status /tmp/plugin/mastodon
COPY --from=matrix-build /usr/local/lib/libolm.so.3.2.4 /tmp/usr/local/lib/libolm.so.3
COPY --from=matrix-build /usr/local/lib/libolm.so /tmp/usr/local/lib/libolm.so
COPY --from=matrix-build /usr/lib/purple-2/libmatrix.so /tmp/usr/lib/purple-2/libmatrix.so
COPY --from=matrix-build /tmp/status /tmp/plugin/matrix