I have a DockerFile which is based on ARM arch, and inside this file, i call dotnet paket install once. When this DockerFile is being built on GitHub action runner, it fails with an error:
43.64 Paket failed with
43.71 -> TargetInvocationException: Exception has been thrown by the target of an invocation.
43.89 -> NullReferenceException: Object reference not set to an instance of an object.
Please note, if i do exactly the same on x86, it runs smoothly. Also if i build the exact same DockerFile on an AWS graviton ec2 instance, it runs smoothly.
Also there might be some race condition behind the scenes, becase I also saw a rerun also to fail, but with a different error.
Description
I have a DockerFile which is based on ARM arch, and inside this file, i call
dotnet paket install
once. When this DockerFile is being built on GitHub action runner, it fails with an error:Please note, if i do exactly the same on x86, it runs smoothly. Also if i build the exact same DockerFile on an AWS graviton ec2 instance, it runs smoothly.
Also there might be some race condition behind the scenes, becase I also saw a rerun also to fail, but with a different error.
Repro steps
I have prepared a github repository to demonstrate the issue: https://github.com/legezam/paket-issue
Here is a build that has failed: https://github.com/legezam/paket-issue/actions/runs/9284398447
Here is exactly the same image, but ported to x86: https://github.com/legezam/paket-issue/tree/x86
And the corresponding build runs to success: https://github.com/legezam/paket-issue/actions/runs/9284893957
Expected behavior
Arm based
paket install
runs to success just as x86Actual behavior
NullReferenceException
Known workarounds
Not that i know of.
Thanks for the help!