Update OCPP.Core.Server/Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user