fix workaround for CentOS 7 (#30)

* fix workaround for CentOS 7

* fix qt libraries in all library folders
master
fgma 2023-01-05 14:16:11 +01:00 zatwierdzone przez GitHub
rodzic ae9ed3c956
commit f113629123
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -18,7 +18,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
# Workaround for systems like CentOS 7 which won't load libQt5Core.so as expected:
# see also https://stackoverflow.com/a/68897099/
binutils \
&& find /lib/ -name 'libQt5Core.so.*' -exec strip --remove-section=.note.ABI-tag {} \; \
&& find /lib* /usr/lib* -name 'libQt5Core.so.*' -exec strip --remove-section=.note.ABI-tag {} \; \
&& apt-get -y purge binutils \
# End of workaround
&& apt-get clean \