Skip to content

Switching from Dockerfile to SDK Container Building Tools #517

Answered by baronfel
mu88 asked this question in Q&A
Discussion options

You must be logged in to vote

This is an excellent set of questions - let's go through them :)

  1. Yes, you'd currently need to call dotnet publish x times - though it's also possible with a bit of MSBuild logic to automate this process. This is something that I'd like to get into the SDK, but it needs more design before it's ready for everyone. A simple version of this can be found here, and it looks like this when invoked:
>dotnet publish -t:MultiArchPublish -bl
MSBuild version 17.8.0+6cdef4241 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  sdk-container-demo -> D:\Code\sdk-container-demo\src\sdk-container-demo\bin\Release\net8.0\sdk-container-demo.dll
  sdk-container-demo -…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@mu88
Comment options

Answer selected by mu88
Comment options

You must be logged in to vote
3 replies
@mu88
Comment options

@baronfel
Comment options

@mu88
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants