Fixes Windows docker debug prints. (#41443)
authorMarie Píchová <11718369+ManickaP@users.noreply.github.com>
Fri, 28 Aug 2020 11:56:31 +0000 (13:56 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Aug 2020 11:56:31 +0000 (13:56 +0200)
src/libraries/System.Net.Http/tests/StressTests/HttpStress/windows.Dockerfile
src/libraries/System.Net.Security/tests/StressTests/SslStress/windows.Dockerfile

index aba0c9c..43f1da1 100644 (file)
@@ -5,8 +5,8 @@ FROM $SDK_BASE_IMAGE
 # Use powershell as the default shell
 SHELL ["pwsh", "-Command"]
 
-RUN echo "DOTNET_SDK_VERSION="$DOTNET_SDK_VERSION
-RUN echo "DOTNET_VERSION="$DOTNET_VERSION
+RUN echo "DOTNET_SDK_VERSION="$env:DOTNET_SDK_VERSION
+RUN echo "DOTNET_VERSION="$env:DOTNET_VERSION
 
 WORKDIR /app
 COPY . .
index ac0fcf9..02e23f5 100644 (file)
@@ -5,8 +5,8 @@ FROM $SDK_BASE_IMAGE
 # Use powershell as the default shell
 SHELL ["pwsh", "-Command"]
 
-RUN echo "DOTNET_SDK_VERSION="$DOTNET_SDK_VERSION
-RUN echo "DOTNET_VERSION="$DOTNET_VERSION
+RUN echo "DOTNET_SDK_VERSION="$env:DOTNET_SDK_VERSION
+RUN echo "DOTNET_VERSION="$env:DOTNET_VERSION
 
 WORKDIR /app
 COPY . .