Open
Description
Problem Statement
Our docs here:
https://docs.sentry.io/platforms/dotnet/configuration/msbuild/
... assume you are building the project without Docker. If you are building with Docker, then there are some gotchas that should be documented.
Solution Brainstorm
Specifically, we need to show:
- Passing the
SENTRY_AUTH_TOKEN
viadocker build
, then importing it withARG
and using it withENV
in the dockerfile. - In a multistage dockerfile with separate stages for
dotnet build
anddotnet publish
, we should pass-p:UseSentryCLI=false
in the publish stage, so that Sentry CLI is only used during the build stage.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status