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
* Build the repo and note where the .nupkg is outputted:
23
+
*`dotnet build -c Release`
24
+
* ...
25
+
*`Successfully created package 'C:\git\sdk-container-builds\Microsoft.NET.Build.Containers\bin\Release\Microsoft.NET.Build.Containers.0.2.0-alpha.14.gda83f2fee0.nupkg'.`
* Publish the test project with `-p:PublishProfile=DefaultContainer` to create a container for your application:
31
+
*`dotnet publish -c Release --os linux --arch x64 -p:PublishProfile=DefaultContainer`
32
+
* Run your test app to ensure it works
33
+
*`docker run -it --rm -p 5010:80 myapp:1.0.0`
34
+
35
+
**NOTE**: Rebuilding and restoring local NuGet packages may cause versioning conflicts due to NuGet caching earlier iterations with the same version number. Be sure to delete the `microsoft.net.build.containers` folder in the NuGet cache in between building and restoring new changes to this repo. For example:
0 commit comments