From 9544f35e09072efa2e0120d63ba03ca1de048e18 Mon Sep 17 00:00:00 2001 From: Elliot Metsger Date: Thu, 27 Jun 2019 07:38:26 -0400 Subject: [PATCH] Rename Docker image LABEL statements containing git properties. LABELs are inherited by child images. Child image LABELs are colliding with the LABELs in this image. Update LABEL statements to be unique, so there are no collisions. --- deposit-messaging/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deposit-messaging/Dockerfile b/deposit-messaging/Dockerfile index a7bf0d31..9a628042 100644 --- a/deposit-messaging/Dockerfile +++ b/deposit-messaging/Dockerfile @@ -1,10 +1,10 @@ FROM openjdk:8u151-jdk-alpine3.7@sha256:bd4030dd52cfb61a61e622fe74483e4e2089a2ef3d782bbf742a0d99093da119 -LABEL version=${project.parent.version} -LABEL commit=${git.commit.id.abbrev} -LABEL commitdate=${git.commit.time} -LABEL builddate=${git.build.time} -LABEL dirty=${git.dirty} +LABEL deposit-services-version=${project.parent.version} +LABEL deposit-services-commit=${git.commit.id.abbrev} +LABEL deposit-services-commitdate=${git.commit.time} +LABEL deposit-services-builddate=${git.build.time} +LABEL deposit-services-dirty=${git.dirty} ARG SPRING_ACTIVEMQ_BROKER_URL ARG PASS_FEDORA_BASEURL