Explorar el Código

Windows: Remove hard coded base image

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard hace 8 años
padre
commit
34fe27f153
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      integration-cli/docker_cli_build_test.go

+ 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" ]