osc copypac from project:Virtualization package:virt-cdi-uploadserver-container revision:2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/cdi-uploadserver-container?expand=0&rev=1
This commit is contained in:
Vasily Ulyanov 2021-03-12 09:25:22 +00:00 committed by Git OBS Bridge
commit 04d2599a94
4 changed files with 58 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

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
# Defines the tag for OBS and build script builds:
#!BuildTag: opensuse/tumbleweed/virt-cdi-uploadserver:%%PKG_VERSION%%
#!BuildTag: opensuse/tumbleweed/virt-cdi-uploadserver:%%PKG_VERSION%%.%RELEASE%
# virt-cdi-uploadserver container image
FROM opensuse/tumbleweed
# labelprefix=org.opensuse.kubevirt
PREFIXEDLABEL org.opencontainers.image.title="CDI upload server container"
PREFIXEDLABEL org.opencontainers.image.description="Upload server for the data fetching service for VM container images"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="opensuse/tumbleweed/virt-cdi-uploadserver:%%PKG_VERSION%%.%RELEASE%"
RUN zypper update -y && \
zypper install -y \
qemu-tools qemu-block-curl tar util-linux \
containerized-data-importer-uploadserver
ENTRYPOINT [ "/usr/bin/virt-cdi-uploadserver", "-alsologtostderr" ]

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">containerized-data-importer-uploadserver</param>
</service>
<service mode="buildtime" name="docker_label_helper"/>
</services>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Oct 25 23:03:09 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Initial container for CDI upload server