From 67b5ed4aee5babacfb329767dc64d263e2cead4b Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Wed, 6 Jun 2018 11:43:13 -0400 Subject: [PATCH] Use `cirrusci/windowsservercore:2016` container for CI (#18202) * Use `cirrusci/windowsservercore:2016` container for CI with 4 CPUs * Removed `Dockerfile.windows` --- .cirrus.yml | 4 +++- dev/bots/docker/Dockerfile.windows | 13 ------------- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 dev/bots/docker/Dockerfile.windows diff --git a/.cirrus.yml b/.cirrus.yml index 4f3712161d..c767012568 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -39,7 +39,9 @@ task: env: SHARD: tests windows_container: - dockerfile: dev/bots/docker/Dockerfile.windows + image: cirrusci/windowsservercore:2016 + os_version: 2016 + cpu: 4 env: CIRRUS_WORKING_DIR: "C:\\Windows\\Temp\\flutter sdk" git_fetch_script: git fetch origin diff --git a/dev/bots/docker/Dockerfile.windows b/dev/bots/docker/Dockerfile.windows deleted file mode 100644 index 008782704e..0000000000 --- a/dev/bots/docker/Dockerfile.windows +++ /dev/null @@ -1,13 +0,0 @@ -FROM microsoft/windowsservercore:1709 - -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -RUN netsh interface ipv4 set subinterface 'vEthernet (Ethernet)' mtu=1460 store=persistent - -RUN Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - -RUN choco install -y git - -SHELL ["cmd", "/S", "/C"] - -RUN setx /m PATH "%PATH%;C:\nodejs" \ No newline at end of file