mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
19 lines
456 B
Docker
19 lines
456 B
Docker
ARG KVMD_VERSION
|
|
ENV KVMD_VERSION $KVMD_VERSION
|
|
RUN echo $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
|