1
0
Fork 0
llvm-premerge-checks/containers/agent-windows-buildkite/Dockerfile

14 lines
469 B
Text
Raw Normal View History

2020-01-17 12:52:31 +01:00
# escape=`
# use windows server core image
ARG agent_windows_version
FROM gcr.io/llvm-premerge-checks/agent-windows:${agent_windows_version}
2020-01-17 12:52:31 +01:00
# 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"