From 7852867896387ef8b933ee235e0b2ce8e12d40c5 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: May 11 2017 06:31:50 +0000 Subject: Dockerfile: set some labels The CentOS base image already sets "name", "vendor", "license", and "build-date" labels so we should explicitly overwrite them in our Dockerfile. Otherwise we inherit the CentOS labels, and our container will show up in OpenShift as being CentOS instead of WaiverDB. --- diff --git a/Dockerfile b/Dockerfile index e4c49ba..8151565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,9 @@ FROM centos:7 +LABEL \ + name="WaiverDB application" \ + vendor="WaiverDB developers" \ + license="GPLv2+" \ + build-date="" RUN yum -y install epel-release && yum -y clean all # The caller should build a waiverdb RPM package using ./rpmbuild.sh and then pass it in this arg. ARG waiverdb_rpm