2020-07-26 16:00:42 +00:00
|
|
|
FROM fedora
|
|
|
|
|
|
|
|
ENV container docker
|
|
|
|
|
|
|
|
ENV LIBVIRTD_DEFAULT_POOL_PATH ""
|
|
|
|
ENV LIBVIRTD_DEFAULT_NETWORK ""
|
2021-04-26 22:36:55 +00:00
|
|
|
ENV LIBVIRTD_TCP_PORT "16509"
|
2020-07-26 16:00:42 +00:00
|
|
|
|
|
|
|
RUN yum install -y \
|
|
|
|
libvirt-daemon-kvm \
|
|
|
|
libvirt-daemon-qemu \
|
|
|
|
libvirt-client \
|
|
|
|
selinux-policy selinux-policy-targeted \
|
2020-08-03 23:04:32 +00:00
|
|
|
wget \
|
2021-01-12 22:20:48 +00:00
|
|
|
augeas \
|
|
|
|
procps
|
2020-07-26 16:00:42 +00:00
|
|
|
|
2021-01-12 22:20:48 +00:00
|
|
|
ENV LOG_LEVEL 3
|
2020-07-26 16:00:42 +00:00
|
|
|
COPY augconf /augconf
|
|
|
|
COPY libvirtd.sh /libvirtd.sh
|
|
|
|
|
|
|
|
RUN augtool -f /augconf && \
|
|
|
|
chmod a+x /libvirtd.sh
|
|
|
|
|
|
|
|
CMD ["/libvirtd.sh"]
|