Describe the bug
The curl-impersonate library that is included in the arm images was compiled for x86_64. This can easily be noticed by the error that is printed if one starts a bash inside the rss-bridge container:
ERROR: ld.so: object '/usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
This is caused by the fact that the docker image, from which the library is copied, is only available for amd64 (see [1][2]).
To Reproduce
Run the following command to see the difference between the container architecture and the architecture that the curl-impersonate library was compiled for.
$ docker run --arch=aarch64 --rm -it --entrypoint=sh docker.io/rssbridge/rss-bridge:latest -c '(apt-get update && apt-get install --yes file) > /dev/null 2>&1 && arch && file /usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so'
ERROR: ld.so: object '/usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
aarch64
ERROR: ld.so: object '/usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/usr/local/lib/curl-impersonate/libcurl-impersonate-ff.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=46ec59f51f37b3090abfc0ac139f9b3b8b38c039, with debug_info, not stripped
Describe the bug The curl-impersonate library that is included in the arm images was compiled for x86_64. This can easily be noticed by the error that is printed if one starts a bash inside the rss-bridge container:
This is caused by the fact that the docker image, from which the library is copied, is only available for amd64 (see [1] [2]).
To Reproduce Run the following command to see the difference between the container architecture and the architecture that the curl-impersonate library was compiled for.