Browse Source

Merge pull request #26827 from Microsoft/jjh/hardcodingbaseimage

Windows: Remove hard coded base image in TestBuildCopyFileWithWhitespace
Brian Goff 8 năm trước cách đây
mục cha
commit
d6bb370602

+ 1 - 1
integration-cli/docker_cli_build_test.go

@@ -830,7 +830,7 @@ RUN [ $(cat "/test dir/test_file5") = 'test5' ]
 RUN [ $(cat "/test dir/test_file6") = 'test6' ]`
 RUN [ $(cat "/test dir/test_file6") = 'test6' ]`
 
 
 	if daemonPlatform == "windows" {
 	if daemonPlatform == "windows" {
-		dockerfile = `FROM windowsservercore
+		dockerfile = `FROM ` + WindowsBaseImage + `
 RUN mkdir "C:/test dir"
 RUN mkdir "C:/test dir"
 RUN mkdir "C:/test_dir"
 RUN mkdir "C:/test_dir"
 COPY [ "test file1", "/test_file1" ]
 COPY [ "test file1", "/test_file1" ]