File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed
Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.5
2- FROM ubuntu:20.04
3-
4- ENV DEBIAN_FRONTEND noninteractive
5- ENV TERM xterm-256color
6-
7- RUN apt-get update -y && \
8- apt-get install -y \
9- qemu-kvm \
10- build-essential \
11- libvirt-daemon-system \
12- libvirt-dev \
13- openssh-server \
14- linux-image-$(uname -r) \
15- curl \
16- net-tools \
17- gettext-base \
18- jq && \
19- apt-get autoremove -y && \
20- apt-get clean
21-
22- RUN curl -O https://releases.hashicorp.com/vagrant/2.2.19/vagrant_2.2.19_x86_64.deb && \
23- dpkg -i vagrant_2.2.19_x86_64.deb && \
24- vagrant plugin install vagrant-libvirt && \
25- vagrant box add --provider libvirt peru/windows-server-2022-standard-x64-eval && \
26- vagrant init peru/windows-server-2022-standard-x64-eval
2+ FROM ghcr.io/vaggeliskls/windows-in-docker-container:latest
273
284# Github action settings
295ENV GITHUB_RUNNER_NAME=windows_x64_vagrant
@@ -35,10 +11,13 @@ ENV PRIVILEGED=true
3511ENV INTERACTIVE=true
3612ENV DOLLAR=$
3713
14+ RUN rm -rf /Vagrantfile
15+ RUN rm -rf /Vagrantfile.tmp
16+ RUN rm -rf /startup.sh
17+
3818COPY Vagrantfile /Vagrantfile.tmp
3919COPY startup.sh /
4020RUN chmod +x startup.sh
41- RUN rm -rf /Vagrantfile
4221
4322ENTRYPOINT ["/startup.sh" ]
4423CMD ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments