2020-01-17 12:52:31 +01:00
|
|
|
# escape=`
|
|
|
|
|
|
|
|
# use windows server core image
|
|
|
|
FROM gcr.io/llvm-premerge-checks/agent-windows
|
|
|
|
|
|
|
|
# install buildkite agent as described in the documentation
|
|
|
|
# https://buildkite.com/docs/agent/v3/windows
|
|
|
|
# Supply your agent token via the arguement "-token <mytoken" when building the image
|
|
|
|
ARG token
|
|
|
|
ENV BUILDKITE_BUILD_PATH=C:\ws\bk
|
2020-02-06 13:32:21 +01:00
|
|
|
|
2020-01-17 12:52:31 +01:00
|
|
|
COPY start_agent.ps1 C:\scripts\
|
|
|
|
CMD "powershell C:\scripts\start_agent.ps1"
|