Re: fedpkg container-build labels error

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

 



Thanks for help, but ...

Dennis Gilmore píše v Út 25. 04. 2017 v 13:10 -0500:
> El lun, 24-04-2017 a las 15:11 +0200, Marek Skalický escribió:
> > Hi,
> > I am building container using fedpkg and I am getting this error:
> > 
> > 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
> 
> Likely you can not use 0 for the Version

See https://fedoraproject.org/wiki/Container:Guidelines

"version: Usually 0. Populated from the ENV variable. See "VERSIONING"
below for explanation."

> 
> 
> > ENV NAME=mongodb \
> >     VERSION=0 \
> >     RELEASE=1 \
> >     ARCH=x86_64
> > 
> > LABEL com.redhat.component = "$NAME" \
> 
> should this not be org.fedoraproject.component?
> 

No  - "com.redhat.component". See Fedora guidelines.

> 
> >       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?
> 
> Dennis
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux