c4d1db3a91
- Introduced Dockerfiles for various Windows runner profiles: C/C++, .NET, Go, and MSYS. - Added a PowerShell script to start the Gitea runner with appropriate configurations. - Updated Ansible host variables to include new Windows build root and runner configurations. - Enhanced the Windows Gitea runner role to support multiple execution modes (linux_podman and windows_mcr). - Implemented tasks to validate runner execution modes, ensure necessary services are running, and manage Docker containers for Windows runners. - Created a new task file for managing Windows-specific runner operations. - Updated the configuration template to dynamically set paths for runner files and cache directories.
9 lines
310 B
Docker
9 lines
310 B
Docker
FROM local/gitea-windows-runner:windows-base
|
|
|
|
SHELL ["powershell", "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command"]
|
|
|
|
# .NET profile for building and testing managed workloads.
|
|
RUN choco feature enable -n allowGlobalConfirmation; \
|
|
choco install dotnet-sdk --version=8.0.204; \
|
|
choco clean --yes
|