From 80f6515b9ec8d688e0bc4f3264081f7b8c16b5d5 Mon Sep 17 00:00:00 2001 From: HasibAhmed577 Date: Tue, 24 Sep 2024 20:40:48 +0600 Subject: [PATCH] [#188080722] - Windows server 2022 docker: initial set up targeting only Budget service --- .../windows/windowsServerCore-2022/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 teamcityAgent/windows/windowsServerCore-2022/Dockerfile diff --git a/teamcityAgent/windows/windowsServerCore-2022/Dockerfile b/teamcityAgent/windows/windowsServerCore-2022/Dockerfile new file mode 100644 index 0000000..5145642 --- /dev/null +++ b/teamcityAgent/windows/windowsServerCore-2022/Dockerfile @@ -0,0 +1,10 @@ +FROM jetbrains/teamcity-agent:2024.07.2-windowsservercore-2022 + +USER ContainerAdministrator + +# Install Chocolatey and necessary tools +RUN powershell -NoProfile -Command \ + "Set-ExecutionPolicy Bypass -Scope Process -Force; \ + [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \ + iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); \ + choco install sqlcmd sqlpackage visualstudio2022buildtools -y --no-progress"