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:
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/
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/ _______________________________________________