Repository navigation
Dockerfile
#246
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there 👋
I'm currently building a Java service that uses tdlight-java and I’m trying to create a Docker image for it.
Im trying to specify -Djava.library.path in env variables, but it didn't work.
Im getting error: Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [tdjni.linux_amd64_clang_ssl1, tdjni.linux_amd64_clang_ssl3, tdjni.linux_amd64_gnu_ssl1, tdjni.linux_amd64_gnu_ssl3]
i have this dependencies in pom.xml
When I`m running my app locally it works fine in intellij idea with env in -Djava.library.path=/myapp/td/tdlib/bin, but actually i cant understand why, because i don't have compiled folders td/tdlib/bin in my projects
Do I still need to build TDLib from source inside the Docker image even tdlight-api-legacy have all files?
Could you please share the recommended or minimal Dockerfile setup for running tdlight-java?
Thank you for your work!
All reactions