-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
34 lines (25 loc) · 867 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# escape=`
FROM microsoft/windowsservercore
MAINTAINER Pat Sissons patricksissons@gmail.com
SHELL [ "powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
ENV chocolateyUseWindowsCompression false
ENV REGISTRATION_TOKEN=
ENV CI_SERVER_URL=
ENV RUNNER_TAG_LIST=
ENV RUNNER_NAME=
ENV RUNNER_EXECUTOR shell
ENV RUNNER_SHELL cmd
ENV CONFIG_FILE=
ENV REGISTER_RUN_UNTAGGED false
ENV RUNNER_REQUEST_CONCURRENCY 1
ENV RUNNER_BUILDS_DIR=
ENV RUNNER_CACHE_DIR=
ENV AUTO_UPDATE true
# install chocolatey
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));
# install required packages
RUN choco install -y git --version 2.10.2 -params "/GitAndUnixToolsOnPath"; `
choco install -y gitlab-runner
# copy scripts
ADD root/ /
CMD [ "powershell", "-File", "entrypoint.ps1" ]