#2 Drop Release label in favor of OSBS release_bump plugin.
Merged 5 years ago by luhliarik. Opened 5 years ago by cverna.
container/ cverna/nginx f29  into  f29

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

- FROM registry.fedoraproject.org/f26/s2i-base:latest

+ FROM registry.fedoraproject.org/f29/s2i-base:latest

  

  # nginx 1.12 image.

  #
@@ -11,7 +11,6 @@ 

  ENV NAME=nginx \

      NGINX_VERSION=1.12 \

      VERSION=0 \

-     RELEASE=1 \

      ARCH=x86_64

  

  ENV SUMMARY="Platform for running nginx $NGINX_VERSION or building nginx-based application" \
@@ -31,7 +30,6 @@ 

        com.redhat.component="$NAME" \

        name="$FGC/$NAME" \

        version="$VERSION" \

-       release="$RELEASE.$DISTTAG" \

        architecture="$ARCH" \

        usage="s2i build file:///your/app $FGC/nginx your-app"

  

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

Pull-Request has been merged by luhliarik

5 years ago