You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an asp.net core app with ef core.
The app uses PublishTrimmed=true and it causes the app fail in runtime with error coming from the sql translator that
"Round not found on Math".
The app runs in the docker container on Azure Kubernetes Service.
Removing PublishTrimmed=true seems to be a workaround but it make the image larger, so it would be good if this is fixed.
I have an asp.net core app with ef core.
The app uses PublishTrimmed=true and it causes the app fail in runtime with error coming from the sql translator that
"Round not found on Math".
The app runs in the docker container on Azure Kubernetes Service.
Removing PublishTrimmed=true seems to be a workaround but it make the image larger, so it would be good if this is fixed.
The packages used with the versions:
The Dockerfile:
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /app
COPY Service/ ./Service
COPY protos/ ./protos
RUN dotnet publish Service -c release --self-contained -r linux-musl-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:PublishTrimmed=true
FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-alpine
RUN apk add --no-cache icu-libs
COPY --from=build /app/Service/bin/release/net6.0/linux-musl-x64/publish/Service /usr/local/bin/identity
ENV PORT=80
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
ENV Logging__LogLevel__Microsoft=Information
CMD [ "identity" ]
The text was updated successfully, but these errors were encountered: