You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Microsoft.VisualStudio.Workload.WebBuildTools to the vs_BuildTools.exe install command in the dotnet-framework-build image would allow the builder image to be used more easily for publishing web deployments.
e.g.
FROM microsoft/dotnet-framework-build:4.7.1 as builder
WORKDIR /app
COPY . ./
RUN ["nuget.exe", "restore"]
RUN ["msbuild.exe", "Foo.sln", "/p:Configuration=Release", "/p:DeployOnBuild=true", "/p:PublishProfile=Disk"]
FROM microsoft/aspnet:4.7.1
COPY --from=builder /app/published /inetpub/wwwroot
The text was updated successfully, but these errors were encountered:
@samcook - Yes this is a scenario we plan to support. The current plan is to add a build images within the microsoft/aspnet repo that are based on the microsoft/dotnet-framework-build images. We would like to maintain separation between the two in order to limit the size of the microsoft/dotnet-framework-build images for non-aspnet scenarios. The microsoft/aspnet work is being tracked with microsoft/aspnet-docker#63. We are open to feedback anyone has on the build images. Thanks
Hi
Adding
Microsoft.VisualStudio.Workload.WebBuildTools
to thevs_BuildTools.exe
install command in thedotnet-framework-build
image would allow the builder image to be used more easily for publishing web deployments.e.g.
The text was updated successfully, but these errors were encountered: