diff --git a/Dockerfile b/Dockerfile
index 34e3c88..f058a20 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# Define the tags for OBS and build script builds:
-#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%
-#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE%
+#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%
+#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%.%RELEASE%
# virt-launcher container image
# KUBEVIRTFROM defined in prjconf, e.g.
@@ -8,13 +8,13 @@
ARG KUBEVIRTFROM
FROM $KUBEVIRTFROM
-# labelprefix=org.opensuse.kubevirt
+# labelprefix=%%LABELPREFIX%%
PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-launcher container"
PREFIXEDLABEL org.opencontainers.image.description="Container to host VM processes 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="opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE%"
+PREFIXEDLABEL org.opensuse.reference="%%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%.%RELEASE%"
RUN zypper update -y && \
zypper install -y \
@@ -30,9 +30,9 @@ RUN zypper update -y && \
libvirt-daemon-qemu \
libvirt-client \
libvirt-daemon-driver-storage-core \
- vim \
- kubevirt-container-disk \
- kubevirt-virt-launcher && \
+ vim \
+ kubevirt-container-disk \
+ kubevirt-virt-launcher && \
mkdir -p /usr/share/kubevirt/virt-launcher
COPY augconf /augconf
diff --git a/_service b/_service
index b161459..c4d299f 100644
--- a/_service
+++ b/_service
@@ -6,5 +6,12 @@
patch
kubevirt-virt-launcher
-
+
+ Dockerfile
+ TAGPREFIX
+ LABELPREFIX
+ source /usr/lib/obs/service/meta/virt-containers-meta
+ 1
+
+
diff --git a/virt-launcher-container.changes b/virt-launcher-container.changes
index fc9b132..979f6a3 100644
--- a/virt-launcher-container.changes
+++ b/virt-launcher-container.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Mar 17 07:08:54 UTC 2021 - Vasily Ulyanov
+
+- Add placeholder vars to be replaced during build
+- Fix mixed tabs and spaces
+
-------------------------------------------------------------------
Tue Nov 17 23:03:31 UTC 2020 - James Fehlig