dotnet core 3.1 (Docker) #163
-
Hi there, I seem to have trouble getting it to run from a dotnet core 3.1 docker image. Missing dependencies or any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi, without any details it is difficult to gues what kind of problems you had, but in general it is working. But as YaNco uses the native SAP RFC SDK you have to consider its requirements for a docker container. dockerfile: https://github.com/dbosoft/SAPHub/blob/main/src/SAPHub.SAPConnector/Dockerfile Please notice the ENV statement that sets the LD_LIBRARY_PATH to the container's /app directory: Hope that helps. If you still facing problems please provide a example with source. Best Regards, |
Beta Was this translation helpful? Give feedback.
Hi,
without any details it is difficult to gues what kind of problems you had, but in general it is working. But as YaNco uses the native SAP RFC SDK you have to consider its requirements for a docker container.
Beside using the linux native libraries within docker, you have to take care of the LD_LIBRARY_PATH variable, that has to point to the sdk binaries.
Here you can find a working sample application that is using also docker: https://github.com/dbosoft/SAPHub
dockerfile: https://github.com/dbosoft/SAPHub/blob/main/src/SAPHub.SAPConnector/Dockerfile
Please notice the ENV statement that sets the LD_LIBRARY_PATH to the container's /app directory:
https://github.com/dbosoft/SAPHub/blob/8…