-
I'm trying to build a multi-platform supported docker image with aot publish, but while can not make it work for multi-platform build, get some errors like the following
the Dockerfile likes below:
Dockerfile: https://github.com/WeihanLi/dotnet-httpie/blob/cddc41ed5f26f57e2c5c56d2996d861a00ad44cd/Dockerfile Is there a sample Dockerfile for building an AOT publish multi-platform container image? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Here is the diff: https://gist.github.com/am11/d2519126fb9bc6665f9b4ececbb3d411/revisions that additional
confirms published binary has intended arch.
In pipeline yml file, you may want use |
Beta Was this translation helpful? Give feedback.
Here is the diff: https://gist.github.com/am11/d2519126fb9bc6665f9b4ececbb3d411/revisions
that additional
file
command at the end prints:confirms published binary has intended arch.