This repository was archived by the owner on May 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
This repository was archived by the owner on May 15, 2025. It is now read-only.
Remote Agent crashes on start due to .net version mismatch #652
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Remote agent is built for .net 7.0.15, while base image is 8.0.1
Platform: MacOS ARM, Linux x64
docker run -it bridgetok8s.azurecr.io/lpkremoteagent:1.3.4 You must install or update .NET to run this application.
App: /src/devhostagent/Microsoft.BridgeToKubernetes.DevHostAgent.dll
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '7.0.15' (arm64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
8.0.1 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.15&arch=arm64&rid=linux-arm64&os=mariner.2.0
Same error when starting via dsc:
kubectl logs apigateway-64896f5c44-87jm8 You must install or update .NET to run this application.
App: /src/devhostagent/Microsoft.BridgeToKubernetes.DevHostAgent.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.15' (x64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
8.0.1 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.15&arch=x64&rid=linux-x64&os=mariner.2.0
Docker history for image:
docker image history bridgetok8s.azurecr.io/lpkremoteagent:1.3.4 IMAGE CREATED CREATED BY SIZE COMMENT
96fedaa1be2a 10 months ago ENTRYPOINT ["dotnet" "/src/devhostagent/Micr… 0B buildkit.dockerfile.v0
<missing> 10 months ago COPY /src/publish /src/devhostagent # buildk… 12.4MB buildkit.dockerfile.v0
<missing> 10 months ago WORKDIR /src/devhostagent 0B buildkit.dockerfile.v0
<missing> 10 months ago RUN /bin/sh -c tdnf clean all && tdnf check… 103MB buildkit.dockerfile.v0
<missing> 11 months ago COPY /shared/Microsoft.AspNetCore.App /usr/s… 26.8MB buildkit.dockerfile.v0
<missing> 11 months ago ENV ASPNET_VERSION=8.0.1 0B buildkit.dockerfile.v0
<missing> 11 months ago RUN /bin/sh -c ln -s /usr/share/dotnet/dotne… 24B buildkit.dockerfile.v0
<missing> 11 months ago COPY /dotnet /usr/share/dotnet # buildkit 78.7MB buildkit.dockerfile.v0
<missing> 11 months ago ENV DOTNET_VERSION=8.0.1 0B buildkit.dockerfile.v0 <--------------
<missing> 11 months ago RUN /bin/sh -c install -d -m 0755 -o $APP_UI… 0B buildkit.dockerfile.v0
<missing> 11 months ago COPY /staging/ / # buildkit 1.43kB buildkit.dockerfile.v0
<missing> 11 months ago RUN /bin/sh -c tdnf install -y ca-ce… 41.4MB buildkit.dockerfile.v0
<missing> 11 months ago ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 … 0B buildkit.dockerfile.v0
<missing> 11 months ago /bin/sh -c #(nop) CMD ["bash"] 0B
<missing> 11 months ago /bin/sh -c #(nop) COPY file:2c9b9395238ee55f… 10.1kB
<missing> 11 months ago /bin/sh -c #(nop) ARG EULA=@EULA_FILE@ 0B
<missing> 11 months ago 61.5MB Imported from -
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working