mirror of
https://github.com/harness/drone.git
synced 2025-05-27 15:01:26 +08:00
13 lines
330 B
Docker
13 lines
330 B
Docker
FROM microsoft/nanoserver:1709
|
|
USER ContainerAdministrator
|
|
|
|
ENV GODEBUG=netdns=go
|
|
ENV DRONE_RUNNER_OS=windows
|
|
ENV DRONE_RUNNER_ARCH=amd64
|
|
ENV DRONE_RUNNER_PLATFORM=windows/amd64
|
|
ENV DRONE_RUNNER_KERNEL=1709
|
|
ENV DRONE_RUNNER_CAPACITY=1
|
|
|
|
ADD release/windows/amd64/drone-agent.exe /drone-agent.exe
|
|
ENTRYPOINT [ "\\drone-agent.exe" ]
|