-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 698 Bytes
/
Dockerfile
File metadata and controls
21 lines (17 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# syntax=docker/dockerfile:1.5
FROM ghcr.io/vaggeliskls/windows-in-docker-container:latest
# Github action settings
ENV GITHUB_RUNNER_NAME=windows_x64_vagrant
ENV GITHUB_RUNNER_VERSION=2.318.0
ENV GITHUB_RUNNER_FILE=actions-runner-win-x64-${GITHUB_RUNNER_VERSION}.zip
ENV GITHUB_RUNNER_URL=https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/${GITHUB_RUNNER_FILE}
ENV GITHUB_RUNNER_LABELS=windows,win_x64,windows_x64,windows_vagrant_action
ENV PRIVILEGED=true
ENV INTERACTIVE=true
ENV DOLLAR=$
RUN rm -rf /Vagrantfile /Vagrantfile.tmp /startup.sh
COPY Vagrantfile /Vagrantfile.tmp
COPY startup.sh /
RUN chmod +x startup.sh
ENTRYPOINT ["/startup.sh"]
CMD ["/bin/bash"]