From 7025a2d0d755204d7c1ce0ae6fce806cfd89cfd0 Mon Sep 17 00:00:00 2001 From: nutchayut Date: Fri, 31 May 2024 04:16:13 +0000 Subject: [PATCH] Update OCPP.Core.Server/Dockerfile --- OCPP.Core.Server/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OCPP.Core.Server/Dockerfile b/OCPP.Core.Server/Dockerfile index 0ddf2f6..1231493 100644 --- a/OCPP.Core.Server/Dockerfile +++ b/OCPP.Core.Server/Dockerfile @@ -6,11 +6,11 @@ RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish #RUN dotnet build #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 update -y && apt-get install -y #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 --reinstall -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgssapi-krb5-2 +#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgssapi-krb5-2 #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 @@ -21,5 +21,7 @@ RUN ldconfig FROM registry.71dev.com/dotnetaspnet:8.0 WORKDIR /app COPY --from=build-env /publish . +RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && apt-get install -y +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgssapi-krb5-2 ENV ASPNETCORE_URLS http://*:8081 ENTRYPOINT ["dotnet", "OCPP.Core.Server.dll"] \ No newline at end of file