2020-05-26 12:53:19 +02:00
|
|
|
# escape=`
|
|
|
|
|
|
|
|
# use windows server core image
|
|
|
|
ARG agent_windows_version=latest
|
|
|
|
FROM gcr.io/llvm-premerge-checks/agent-windows-vs2019:${agent_windows_version}
|
|
|
|
|
2020-10-07 10:08:13 +02:00
|
|
|
RUN choco install -y handle --checksum 524E61547C8E26608CDA1B11B6E9471616CCCC48530F6E7EC9131EABF839357E
|
2020-05-26 12:53:19 +02:00
|
|
|
COPY start_agent.ps1 C:\scripts\
|
2020-10-07 10:08:13 +02:00
|
|
|
COPY pre-checkout.bat c:\buildkite-agent\hooks\
|
2021-09-30 12:46:36 +02:00
|
|
|
COPY post-checkout.bat c:\buildkite-agent\hooks\
|
|
|
|
CMD "powershell C:\scripts\start_agent.ps1"
|