14 lines
No EOL
469 B
Docker
14 lines
No EOL
469 B
Docker
# escape=`
|
|
|
|
# use windows server core image
|
|
ARG agent_windows_version
|
|
FROM gcr.io/llvm-premerge-checks/agent-windows:${agent_windows_version}
|
|
|
|
# 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
|
|
|
|
COPY start_agent.ps1 C:\scripts\
|
|
CMD "powershell C:\scripts\start_agent.ps1" |