Another attempt at building a working ARM Docker image:
- Writes platform information that was used during the build to
/app/.buildinfo
so that it can be inspected to make sure that the correct architecture was used when building the DotNet executables. - Also takes the opportunity to upgrade Maven to version 3.9.4. Some of the packages that ship with Maven were getting flag as security vulnerabilities by Docker Scout.