From 52ad11bf674cad5813c230dbd7eed0beb1a04acb Mon Sep 17 00:00:00 2001 From: nutchayut Date: Fri, 31 May 2024 01:46:30 +0700 Subject: [PATCH] bug fixed --- OCPP.Core.Server/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OCPP.Core.Server/Dockerfile b/OCPP.Core.Server/Dockerfile index 854054d..0a6e817 100644 --- a/OCPP.Core.Server/Dockerfile +++ b/OCPP.Core.Server/Dockerfile @@ -7,13 +7,15 @@ RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish #RUN dotnet publish -o /publish --configuration Release ; # Publish Stage RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && apt-get install -y -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libkrb5-dev +$RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libkrb5-dev RUN DEBIAN_FRONTEND=noninteractive apt-get install -y rsyslog-gssapi -#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libkrb5-3 +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libkrb5-3 #RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/* - +RUN ls -l /usr/lib/libgssapi_krb5.so.2 +RUN ls -l /usr/lib64/libgssapi_krb5.so.2 RUN ldconfig -p | grep libgssapi_krb5.so.2 RUN ldconfig +RUN export LD_LIBRARY_PATH=/path/to/library:$LD_LIBRARY_PATH FROM registry.71dev.com/dotnetaspnet:8.0 WORKDIR /app