22 lines
679 B
Text
22 lines
679 B
Text
|
FROM debian:bookworm
|
||
|
|
||
|
#RUN apt-get update && apt-get -y dist-upgrade
|
||
|
RUN apt-get update
|
||
|
RUN echo deb http://downloads.opennebula.org/repo/6.0/Debian/10/ stable opennebula > /etc/apt/sources.list.d/opennebula.list
|
||
|
RUN apt-get install -y gnupg2 openssh-server strace sudo wget
|
||
|
RUN apt-get install -y ceph-common
|
||
|
RUN wget -O - https://downloads.opennebula.org/repo/repo.key | apt-key add -
|
||
|
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
|
||
|
|
||
|
COPY opennebula-virsh /etc/sudoers.d
|
||
|
COPY entrypoint.sh /
|
||
|
|
||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||
|
|
||
|
# Need to run:
|
||
|
# - /usr/sbin/libvirtd
|
||
|
# - sshd
|