opennebula-docker: cleanup

This commit is contained in:
Nico Schottelius 2026-08-19 17:58:40 +02:00
commit 2653da6607
3 changed files with 1 additions and 33 deletions

View file

@ -1,16 +0,0 @@
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
ENTRYPOINT ["/entrypoint.sh"]

View file

@ -1,17 +0,0 @@
FROM debian:trixie
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 opennebula-virsh /etc/sudoers.d
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]

View file

@ -0,0 +1 @@
Dockerfile_0.2.2