Skip to content
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

Simplify .NET multi-platform Dockerfile #301

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

lbussell
Copy link
Contributor

@lbussell lbussell commented Jul 14, 2023

Since .NET 7.0.300, the new -a/--arch argument is supported that accepts the same formatting as Docker's $TARGETARCH. This greatly simplifies the restore and build commands in this sample.

See @richlander's blog post and dotnet/sdk#30369 for more context.

@lbussell lbussell changed the title Improve .NET multi-platform Dockerfile Simplify .NET multi-platform Dockerfile Jul 14, 2023
worker/Dockerfile Outdated Show resolved Hide resolved
@mikesir87
Copy link
Member

Wow! Somehow missed this PR, so apologies on the slow response. Thanks for the update and for sharing the new capabilities. Super cool! We'll go ahead and merge this in. Thanks again!

@mikesir87 mikesir87 merged commit d268b89 into dockersamples:main Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants