![](https://seccdn.libravatar.org/avatar/82e205074998b62b41625d6de2784e5d.jpg?s=120&d=mm&r=g)
Hi all, I wanted to try out building a distrobox image on OBS. I took Richard's repository as a blueprint:
https://build.opensuse.org/project/show/home:RBrownSUSE:containers
Is there any documentation on how to use the BuildTags and the labels? Especially if the container images are not supposed to end up in the official repos, but should stay in "my" home namespace? My current state is this, which fails. I am not interested in just solving this error, but would like to know what all of these do and how I should set them for a home-spaced image...
# SPDX-License-Identifier: MIT #!BuildTag: opensuse/distrobox-johanneskastl:latest #!BuildTag: opensuse/distrobox-johanneskastl:%%PKG_VERSION%% #!BuildTag: opensuse/distrobox-johanneskastl:%%PKG_VERSION%%.%RELEASE%
FROM opensuse/distrobox:latest LABEL maintainer="Johannes Kastl
" # labelprefix=org.opensuse.distrobox PREFIXEDLABEL org.opencontainers.image.title="Distrobox johanneskastl container" PREFIXEDLABEL org.opencontainers.image.description="Distrobox johanneskastl container" PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" PREFIXEDLABEL org.opencontainers.image.vendor="openSUSE Project" PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/distrobox-johanneskastl:%%PKG_VERSION%%.%RELEASE%"
Thanks in advance and have a nice day! Kind Regards, Johannes