#2 Drop Release label in favor of OSBS release_bump plugin.
Merged 3 years ago by hhorak. Opened 3 years ago by cverna.
container/ cverna/mariadb master  into  master

file modified
+3 -3
@@ -1,4 +1,5 @@ 

- FROM fedora:27

+ FROM registry.fedoraproject.org/f30/s2i-core:latest

+ 

  

  LABEL MAINTAINER "Honza Horak" <hhorak@redhat.com>

  
@@ -21,11 +22,10 @@ 

        io.openshift.expose-services="3306:mysql" \

        io.openshift.tags="database,mysql,mariadb,mariadb101,galera"

  

- ENV NAME=mariadb VERSION=10.2 RELEASE=14 ARCH=x86_64

+ ENV NAME=mariadb VERSION=10.2 ARCH=x86_64

  LABEL BZComponent="$NAME" \

          Name="$FGC/$NAME" \

          Version="$VERSION" \

-         Release="$RELEASE.$DISTTAG" \

          Architecture="$ARCH"

  

  EXPOSE 3306

OSBS can automatically bump the release number, for that
we just need to drop the label from the Dockerfile

See https://pagure.io/ContainerSIG/container-sig/issue/1

Signed-off-by: Clement Verna cverna@tutanota.com

Double "FROM" ?

That looks like an error to me

Good catch I ll update it. Thanks

1 new commit added

  • Fix the FROM line in the Dockerfile
3 years ago

Pull-Request has been merged by hhorak

3 years ago