From deb0b7292f136229b10a7de48a66a9f8448a5db2 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Tue, 1 Oct 2024 11:26:32 -0700 Subject: [PATCH] ci: Remove CI Dockerfile. This is now internal. --- .kokoro/gcp_windows_docker/Dockerfile | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .kokoro/gcp_windows_docker/Dockerfile diff --git a/.kokoro/gcp_windows_docker/Dockerfile b/.kokoro/gcp_windows_docker/Dockerfile deleted file mode 100644 index 49d432faf7f..00000000000 --- a/.kokoro/gcp_windows_docker/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# We use the .NET Framework 4.8 Windows Server Core 2019 official image as starter. -# Chocolatey requires .NET Framework 4.8, which in turn requires a reboot after install. -# Chocolatey recommends starting with an image that already has .NET Framework 4.8 installed. -# Kokoro supports up to Windows Server 2019 only. -# We build in .NET 6 so we need to install .NET 6 after. -FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 - -# Setup Powershell -RUN powershell -Command $ErrorActionPreference = 'Stop'; -RUN powershell -Command $ProgressPreference = 'SilentlyContinue'; - -# Install Chocolatey -ENV ChocolateyUseWindowsCompression false -RUN powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" - -# Install .NET Core 3.0 which we need for Google.Apis.Auth.AspNetCore3 -RUN choco install -y --no-progress dotnetcore-3.0-sdk - -# Install .NET 6 -RUN choco install -y --no-progress dotnet-6.0-sdk - -# Install Git -RUN choco install -y --no-progress git - -# Default to PowerShell. -# This is what Kokoro owned Docker images do. We'll do the same at least for now. -CMD ["powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]