virt-handler-container/Dockerfile
Dirk Mueller b311a81ee3 - Adjust Dockerfile to conform to "Building Official Container
Images" documentation

- Install libvirt-client package

- Install iptables package

- Install kubevirt-container-disk package to get the container-disk
  binary

-  Initial container for virt-handler

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-handler-container?expand=0&rev=1
2020-09-29 14:02:38 +00:00

25 lines
934 B
Docker

# Define the tags for OBS and build script builds:
#!BuildTag: suse/sles/15.2/virt-handler:%%PKG_VERSION%%
#!BuildTag: suse/sles/15.2/virt-handler:%%PKG_VERSION%%.%RELEASE%
# virt-handler container image
FROM opensuse/tumbleweed
# labelprefix=com.suse.kubevirt
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-handler container"
PREFIXEDLABEL org.opencontainers.image.description="Virtualization handler for kubevirt"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="suse/sles/15.2/virt-handler:%%PKG_VERSION%%.%RELEASE%"
RUN zypper update -y && \
zypper install -y \
iproute2 \
iptables \
libvirt-client \
kubevirt-container-disk \
kubevirt-virt-handler
ENTRYPOINT [ "/usr/bin/virt-handler" ]