forked from pool/virt-api-container
Compare commits
12 Commits
a218eb4a18
...
a12c2b47e7
Author | SHA256 | Date | |
---|---|---|---|
a12c2b47e7 | |||
|
dd16b1fb6a | ||
17a8a6f9f7 | |||
|
a340dc7388 | ||
70caf96267 | |||
|
c316fa6fa1 | ||
5664898f31 | |||
|
846ddbb076 | ||
baa9514307 | |||
|
16f89ab22f | ||
a66a54eff7 | |||
8063837dc4 |
22
Dockerfile
22
Dockerfile
@@ -1,21 +1,29 @@
|
||||
# Defines the tag for OBS and build script builds:
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Define the tags for OBS and build script builds:
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-api:%%PKG_VERSION%%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-api:%%PKG_VERSION%%.%RELEASE%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-api:%%PKG_VERSION%%-%%PKG_RELEASE%%
|
||||
|
||||
#!ExclusiveArch: x86_64 aarch64
|
||||
|
||||
# virt-api container image
|
||||
# KUBEVIRTFROM defined in prjconf, e.g.
|
||||
# BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed
|
||||
ARG KUBEVIRTFROM
|
||||
FROM $KUBEVIRTFROM
|
||||
|
||||
# Mandatory labels for the build service:
|
||||
# https://en.opensuse.org/Building_derived_containers
|
||||
# labelprefix=%%LABELPREFIX%%
|
||||
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-api container"
|
||||
PREFIXEDLABEL org.opencontainers.image.description="Entrypoint for all kubevirt CR exentions"
|
||||
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
||||
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
PREFIXEDLABEL org.opensuse.reference="%%TAGPREFIX%%/virt-api:%%PKG_VERSION%%.%RELEASE%"
|
||||
LABEL org.opencontainers.image.title="kubevirt virt-api container"
|
||||
LABEL org.opencontainers.image.description="Entrypoint for all kubevirt CR exentions"
|
||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
LABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
||||
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-api:%%PKG_VERSION%%.%RELEASE%"
|
||||
# endlabelprefix
|
||||
|
||||
RUN zypper -n install kubevirt-virt-api shadow && \
|
||||
zypper clean -a && \
|
||||
|
1
_service
1
_service
@@ -5,6 +5,7 @@
|
||||
<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-api source /usr/lib/obs/service/kubevirt_containers_meta</param>
|
||||
|
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 08:12:59 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Add LABEL with source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 12:25:48 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Add license header
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 06:16:31 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Use standard LABEL directive to add mandatory labels
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 15:08:05 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Enable build only on aarch64 and x86_64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 11:20:25 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Include the registry in org.opensuse.reference
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 07:48:43 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user