New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable specifying a platform for build #3870
Comments
We talked about this some in standup yesterday. Command customization already facilitates this for non-task scenarios, and adding support for a flag to control |
Can you folks write a tutorial for this? |
@bwateratmsft tried adding |
@spboyer It's not supported by the extension code yet, what I meant was it wouldn't be difficult to add support. |
I suggest adding the "platform" option in the "docker-build: debug" and "docker-build: publish" tasks when scaffolding occurs with the local architecture defaulted there. We can add a tutorial for creating additional and/or editing. |
I think we should only add it for the release build task. Adding it to the debug build task would result in a debug config that may not work across different platforms. (i.e., same repo, different machines). |
Good point. |
I think you mean |
Hello ! What about this issue ? |
We should enable people to build x64 images on Arm64 machines. The cloud is still mostly x64.
Updating tags to switch between x64 and Arm64 isn't great. It's inconvenient and alters assets under source control. Also, .NET has architectural-specific aspects (RIDs), however, we've been able to make that work well with
--platform
.Here is where we are headed with .NET: dotnet/dotnet-docker#4388
The text was updated successfully, but these errors were encountered: