add kubevirt images
This commit is contained in:
parent
6e6d876b83
commit
efaa4b0aab
16
org/kubevirt/virt-api/Dockerfile.template
Normal file
16
org/kubevirt/virt-api/Dockerfile.template
Normal file
@ -0,0 +1,16 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-api"
|
||||
LABEL org.opencontainers.image.description="Kubevirt API server"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_packages("kubevirt-virt-api") }}
|
||||
|
||||
RUN useradd -m -d /home/virt-api -u 10001 -s /bin/bash -c "virt-api user" virt-api
|
||||
USER 10001
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-api"]
|
6
org/kubevirt/virt-api/info.yaml
Normal file
6
org/kubevirt/virt-api/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
16
org/kubevirt/virt-controller/Dockerfile.template
Normal file
16
org/kubevirt/virt-controller/Dockerfile.template
Normal file
@ -0,0 +1,16 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-controller"
|
||||
LABEL org.opencontainers.image.description="Controller for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_packages("kubevirt-virt-controller") }}
|
||||
|
||||
RUN useradd -m -d /home/virt-controller -u 10001 -s /bin/bash -c "virt-controller user" virt-controller
|
||||
USER 10001
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-controller"]
|
6
org/kubevirt/virt-controller/info.yaml
Normal file
6
org/kubevirt/virt-controller/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
16
org/kubevirt/virt-exportproxy/Dockerfile.template
Normal file
16
org/kubevirt/virt-exportproxy/Dockerfile.template
Normal file
@ -0,0 +1,16 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-exportproxy"
|
||||
LABEL org.opencontainers.image.description="Export proxy for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_packages("kubevirt-virt-exportproxy") }}
|
||||
|
||||
RUN useradd -m -d /home/virt-exportproxy -u 10001 -s /bin/bash -c "virt-exportproxy user" virt-exportproxy
|
||||
USER 10001
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-exportproxy"]
|
6
org/kubevirt/virt-exportproxy/info.yaml
Normal file
6
org/kubevirt/virt-exportproxy/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
16
org/kubevirt/virt-exportserver/Dockerfile.template
Normal file
16
org/kubevirt/virt-exportserver/Dockerfile.template
Normal file
@ -0,0 +1,16 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-exportserver"
|
||||
LABEL org.ope:wncontainersncontainers.image.description="Export server for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_packages("kubevirt-virt-exportserver") }}
|
||||
|
||||
RUN useradd -m -d /home/virt-exportserver -u 10001 -s /bin/bash -c "virt-exportserver user" virt-exportserver
|
||||
USER 10001
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-exportserver"]
|
6
org/kubevirt/virt-exportserver/info.yaml
Normal file
6
org/kubevirt/virt-exportserver/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
21
org/kubevirt/virt-handler/Dockerfile.template
Normal file
21
org/kubevirt/virt-handler/Dockerfile.template
Normal file
@ -0,0 +1,21 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-handler"
|
||||
LABEL org.opencontainers.image.description="Handler component for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
RUN groupadd -f -g 107 qemu > /dev/null 2>&1 ||:
|
||||
RUN useradd -g qemu -m -d /home/qemu -s /bin/bash -c "qemu user" -u 107 qemu > /dev/null 2>&1 ||:
|
||||
|
||||
{{ install_packages(
|
||||
"kubevirt-virt-handler",
|
||||
"kubevirt-container-disk"
|
||||
) }}
|
||||
|
||||
RUN cp -f /usr/share/kube-virt/virt-handler/nsswitch.conf /etc/ && cp -f /usr/share/kube-virt/virt-handler/virt_launcher.cil /
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-handle"]
|
6
org/kubevirt/virt-handler/info.yaml
Normal file
6
org/kubevirt/virt-handler/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
30
org/kubevirt/virt-launcher/Dockerfile.template
Normal file
30
org/kubevirt/virt-launcher/Dockerfile.template
Normal file
@ -0,0 +1,30 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-launcher"
|
||||
LABEL org.opencontainers.image.description="Launcher component for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
RUN groupadd -f -g 107 qemu > /dev/null 2>&1 ||:
|
||||
RUN useradd -g qemu -m -d /home/qemu -s /bin/bash -c "qemu user" -u 107 qemu > /dev/null 2>&1 ||:
|
||||
|
||||
{{ install_packages(
|
||||
"kubevirt-virt-launcher",
|
||||
"kubevirt-container-disk"
|
||||
) }}
|
||||
|
||||
ENV DISPLAY=":0.0"
|
||||
RUN export DISPLAY=":0.0"
|
||||
|
||||
RUN cp -f /usr/share/kube-virt/virt-launcher/virtqemud.conf /etc/libvirt/virtqemud.conf && cp -f /usr/share/kube-virt/virt-launcher/qemu.conf /etc/libvirt/qemu.conf
|
||||
|
||||
RUN VIRTIOFSD=$(rpm --eval '%{_libexecdir}')/virtiofsd; [ -d ${VIRTIOFSD} ] && VIRTIOFSD=${VIRTIOFSD}/virtiofsd; [ -f /usr/libexec/virtiofsd ] || (mkdir -p /usr/libexec && ln -svrt /usr/libexec ${VIRTIOFSD})
|
||||
|
||||
RUN setcap 'cap_net_bind_service=+ep' /usr/bin/virt-launcher && setcap 'cap_net_bind_service=+ep' /usr/bin/virt-launcher-monitor && setcap 'cap_net_bind_service=+ep' /usr/bin/qemu-system-$(uname -m) && chmod 0755 /etc/libvirt
|
||||
|
||||
RUN cd /var && rm -rf run && ln -s ../run .
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-launcher-monitor"]
|
6
org/kubevirt/virt-launcher/info.yaml
Normal file
6
org/kubevirt/virt-launcher/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
18
org/kubevirt/virt-operator/Dockerfile.template
Normal file
18
org/kubevirt/virt-operator/Dockerfile.template
Normal file
@ -0,0 +1,18 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="virt-operator"
|
||||
LABEL org.opencontainers.image.description="Operator component for kubevirt"
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_packages("kubevirt-virt-operator") }}
|
||||
|
||||
EXPOSE 8443 8444
|
||||
|
||||
RUN useradd -m -d /home/virt-operator -u 10001 -s /bin/bash -c "virt-operator user" virt-operator
|
||||
USER 10001
|
||||
|
||||
ENTRYPOINT ["/usr/bin/virt-operator"]
|
6
org/kubevirt/virt-operator/info.yaml
Normal file
6
org/kubevirt/virt-operator/info.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
is_versioned: true
|
||||
version_template: "{{ version }}"
|
||||
source_packages:
|
||||
- kubevirt
|
||||
...
|
Loading…
Reference in New Issue
Block a user