Skip to content

WebApp not working on ARM / M1 pro CPU #119

@mve

Description

@mve

I tried to run all services in a Kubernetes cluster on my Macbook with an m1 pro chip. I built all images locally, all services start up except the webapp service.
The pod is showing the following error:

Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly '/Pitstop.WebApp.dll'. The system cannot find the file specified.
File name: '/Pitstop.WebApp.dll'

There is a file with that exact name in the root directory of the container.
Running that file with dotnet after i exec into the container throws the same error.

The strange thing is that if i run dotnet publish -c Release -o out on my system (Not in a container) and then run the dll on my system the webapp will work as expected. So it's specifically not working in Docker it seems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions