From ff46c0a1f005a646672054add6c428c141db5f30 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Mon, 27 Aug 2018 10:14:00 +0200 Subject: [PATCH] Drop Release label in favor of OSBS release_bump plugin. 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 --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ceec22e..95c5578 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This image provides a Python 3.5 environment you can use to run your Python # applications. -FROM registry.fedoraproject.org/f26/s2i-base:latest +FROM registry.fedoraproject.org/f28/s2i-base:latest EXPOSE 8080 @@ -14,7 +14,6 @@ ENV PYTHON_VERSION=3.6 \ ENV NAME=python3 \ VERSION=0 \ - RELEASE=1 \ ARCH=x86_64 ENV SUMMARY="Platform for building and running Python $PYTHON_VERSION applications" \ @@ -35,7 +34,6 @@ LABEL summary="$SUMMARY" \ com.redhat.component="$NAME" \ name="$FGC/$NAME" \ version="$VERSION" \ - release="$RELEASE.$DISTTAG" \ architecture="$ARCH" \ usage="s2i build file:///your/app 26/python3 your-app" \ maintainer="SoftwareCollections.org "