Re: fedpkg container-build labels error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 05/04/2017 10:38 AM, Marek Skalický wrote:
> Hi,
> I've asked the same on fedora-devel [1]. But with no result, so asking
> again.
> I am building container using fedpkg and I am getting this error:

Hi Marek,

So sorry this didn't get a response until now. Did you figure out the
problem? If not, I'll try to see if I can get someone to help you out.

> 
> FAILED: BuildError: Required LABELs haven't been found in Dockerfile:
> version (or Version).
>   0 free  0 open  0 done  1 failed
> 
> But in Dockerfile I have
> 
> ENV NAME=mongodb \
>     VERSION=0 \
>     RELEASE=1 \
>     ARCH=x86_64
> 
> LABEL com.redhat.component = "$NAME" \
>       name="$FGC/$NAME" \
>       version="$VERSION" \
>       release="$RELEASE.$DISTTAG" \
>       architecture="$ARCH" \
>       usage="docker run -d -e MONGODB_ADMIN_PASSWORD=my_pass
> $FGC/$NAME" \
>       help="help.1"
> 
> Where is a problem?
> 
> Thanks,
> Marek
> 
> [1] https://lists.fedoraproject.org/archives/list/devel@lists.fedorapro
> ject.org/thread/LWPKI2XIT6WIN7MOWO5LMKOVLX7Y34JO/
> _______________________________________________
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux