1
0

- 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
This commit is contained in:
Dirk Mueller 2020-09-29 14:02:38 +00:00 committed by Git OBS Bridge
commit b311a81ee3
5 changed files with 84 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

24
Dockerfile Normal file
View File

@ -0,0 +1,24 @@
# 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" ]

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%PKG_VERSION%%</param>
<param name="parse-version">patch</param>
<param name="package">kubevirt-virt-handler</param>
</service>
<service mode="buildtime" name="docker_label_helper"/>
</services>

View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Tue Sep 15 03:18:15 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Adjust Dockerfile to conform to "Building Official Container
Images" documentation
-------------------------------------------------------------------
Fri Jul 24 21:01:39 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Install libvirt-client package
-------------------------------------------------------------------
Fri Jul 24 14:48:07 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Install iptables package
-------------------------------------------------------------------
Wed Jul 22 19:56:06 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Install kubevirt-container-disk package to get the container-disk
binary
-------------------------------------------------------------------
Fri Jun 26 14:51:15 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Initial container for virt-handler