diff --git a/tracer/build/_build/docker/iis.multipleappsindomain.dockerfile b/tracer/build/_build/docker/iis.multipleappsindomain.dockerfile index bd32b402295e..cfef028c729e 100644 --- a/tracer/build/_build/docker/iis.multipleappsindomain.dockerfile +++ b/tracer/build/_build/docker/iis.multipleappsindomain.dockerfile @@ -20,9 +20,9 @@ RUN c:\Windows\System32\inetsrv\appcmd add apppool /name:mutliAppPool /managedRu RUN Remove-WebSite -Name 'Default Web Site'; \ Write-Host "Created app pool with 32 bit reg key: $env:ENABLE_32_BIT"; \ Write-Host "Creating multi app domain sites"; \ - [System.Environment]::SetEnvironmentVariable("DD_TRACE_AGENT_URL", "http://test-agent.windows:8126", [System.EnvironmentVariableTarget]::Machine); \ - [System.Environment]::SetEnvironmentVariable("DD_TRACE_AGENT_URL", "http://test-agent.windows:8126", [System.EnvironmentVariableTarget]::Process); \ - [System.Environment]::SetEnvironmentVariable("DD_TRACE_AGENT_URL", "http://test-agent.windows:8126", [System.EnvironmentVariableTarget]::User); \ + [System.Environment]::SetEnvironmentVariable('DD_TRACE_AGENT_URL', 'http://test-agent.windows:8126', [System.EnvironmentVariableTarget]::Machine); \ + [System.Environment]::SetEnvironmentVariable('DD_TRACE_AGENT_URL', 'http://test-agent.windows:8126', [System.EnvironmentVariableTarget]::Process); \ + [System.Environment]::SetEnvironmentVariable('DD_TRACE_AGENT_URL', 'http://test-agent.windows:8126', [System.EnvironmentVariableTarget]::User); \ New-Website -Name 'MultiAppPoolWithCustomConfig1' -ApplicationPool mutliAppPool -Port 8081 -PhysicalPath 'c:\MultipleAppsInDomain'; # TEMP Set LoaderOptimization flag to see if we can read env vars now