ASP.NET Core image with librdkafka compiled with Kerberos support
Docker images are tagged using following format .NET Core version
-librdkafka version
. E.g. 2.1.4-0.11.5 means .NET Core 2.14 with librdkafka 0.11.5
- Replace
FROM microsoft/dotnet:2.1-aspnetcore-runtime
withFROM shatl/aspnetcore-kafka-kerberos
- After copying binaries (assuming
/app
is a target folder) add this lineRUN rm -f /app/runtimes/linux-x64/native/librdkafka.so && ln -f /usr/local/lib/librdkafka.so /app/runtimes/linux-x64/native/librdkafka.so