20 lines
774 B
Text
20 lines
774 B
Text
FROM debian:trixie
|
|
|
|
COPY opennebula-virsh /etc/sudoers.d
|
|
COPY entrypoint.sh /
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y gnupg2 openssh-server strace sudo wget ceph-common
|
|
RUN wget -q -O- https://downloads.opennebula.io/repo/repo2.key | gpg --dearmor --yes --output /etc/apt/keyrings/opennebula.gpg
|
|
RUN echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.1/Debian/13 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
|
|
RUN apt-get update && apt-get install -y --no-install-recommends opennebula-node-kvm
|
|
|
|
RUN mv /usr/bin/virsh /usr/bin/virsh.orig
|
|
|
|
COPY virsh /usr/bin/virsh
|
|
RUN chmod a=rx /usr/bin/virsh
|
|
|
|
COPY virtlogd.conf /etc/libvirt/virtlogd.conf
|
|
RUN chmod a+r /etc/libvirt/virtlogd.conf
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|