summaryrefslogtreecommitdiff
path: root/os/platforms/v1/Dockerfile.part
blob: 471e856601aa68194356ad7caf7cbd08f980a7b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ARG KVMD_VERSION
RUN pkg-install \
	kvmd \
	mjpg-streamer-pikvm \
	nginx

COPY stages/pikvm/config.txt /boot/
COPY stages/pikvm/sysctl.conf /etc/sysctl.d/99-pikvm.conf
COPY stages/pikvm/udev.rules /etc/udev/rules.d/pikvm.rules

RUN cp /usr/share/kvmd/configs/nginx/nginx.conf /etc/nginx/
RUN cp /usr/share/kvmd/configs/kvmd/v1.yaml /etc/kvmd.yaml

RUN systemctl enable kvmd
RUN systemctl enable nginx