- Adjust Dockerfile to conform to "Building Official Container
Images" documentation - Initial container for virt-operator OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-operator-container?expand=0&rev=1
This commit is contained in:
commit
4631555dfc
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
|
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
# Define the tags for OBS and build script builds:
|
||||
#!BuildTag: suse/sles/15.2/virt-operator:%%PKG_VERSION%%
|
||||
#!BuildTag: suse/sles/15.2/virt-operator:%%PKG_VERSION%%.%RELEASE%
|
||||
|
||||
# virt-operator container image
|
||||
FROM opensuse/tumbleweed
|
||||
|
||||
# labelprefix=com.suse.kubevirt
|
||||
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-operator container"
|
||||
PREFIXEDLABEL org.opencontainers.image.description="Virtualization operator 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-operator:%%PKG_VERSION%%.%RELEASE%"
|
||||
|
||||
RUN zypper update -y && \
|
||||
zypper install -y \
|
||||
kubevirt-virt-operator \
|
||||
shadow && \
|
||||
useradd --system --no-create-home -u 1001 virt-operator
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/usr/bin/virt-operator" ]
|
10
_service
Normal file
10
_service
Normal 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-operator</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
</services>
|
10
virt-operator-container.changes
Normal file
10
virt-operator-container.changes
Normal file
@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 15 03:24:20 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
- Adjust Dockerfile to conform to "Building Official Container
|
||||
Images" documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 22 22:26:38 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
- Initial container for virt-operator
|
Loading…
Reference in New Issue
Block a user