forked from pool/virt-exportserver-container
Accepting request 990687 from home:vulyanov:branches:Virtualization
- Initial container for virt-exportserver OBS-URL: https://build.opensuse.org/request/show/990687 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-exportserver-container?expand=0&rev=1
This commit is contained in:
commit
37a61083cf
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
# Defines the tag for OBS and build script builds:
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-exportserver:%%PKG_VERSION%%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-exportserver:%%PKG_VERSION%%.%RELEASE%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-exportserver:%%PKG_VERSION%%-%%PKG_RELEASE%%
|
||||
|
||||
#!ExclusiveArch: x86_64 aarch64
|
||||
|
||||
# virt-exportserver container image
|
||||
# KUBEVIRTFROM defined in prjconf, e.g.
|
||||
# BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed
|
||||
ARG KUBEVIRTFROM
|
||||
FROM $KUBEVIRTFROM
|
||||
|
||||
# labelprefix=%%LABELPREFIX%%
|
||||
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-exportserver container"
|
||||
PREFIXEDLABEL org.opencontainers.image.description="HTTP server for the VirtualMachineExport resources"
|
||||
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
||||
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
PREFIXEDLABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-exportserver:%%PKG_VERSION%%.%RELEASE%"
|
||||
|
||||
RUN zypper -n install kubevirt-virt-exportserver shadow tar && \
|
||||
zypper clean -a && \
|
||||
useradd -u 1001 --create-home -s /bin/bash virt-exportserver
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/usr/bin/virt-exportserver" ]
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service mode="buildtime" name="kubevirt_containers_meta"/>
|
||||
<service mode="buildtime" name="replace_using_env">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="var">PKG_VERSION</param>
|
||||
<param name="var">PKG_RELEASE</param>
|
||||
<param name="var">REGISTRY</param>
|
||||
<param name="var">TAGPREFIX</param>
|
||||
<param name="var">LABELPREFIX</param>
|
||||
<param name="eval">pkg=kubevirt-virt-exportserver source /usr/lib/obs/service/kubevirt_containers_meta</param>
|
||||
<param name="verbose">1</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
</services>
|
4
virt-exportserver-container.changes
Normal file
4
virt-exportserver-container.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 12:34:40 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Initial container for virt-exportserver
|
Loading…
Reference in New Issue
Block a user