From cf99a6b2853a9c3982bdf18e5c6c2eec0a332d26 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Tue, 28 Jun 2022 17:39:32 +0100 Subject: OCI image spec labels for policy-docker images Issue-ID: POLICY-4264 Signed-off-by: danielhanrahan Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399 --- policy-jdk/alpine/pom.xml | 5 +++++ policy-jdk/alpine/src/main/docker/Dockerfile | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'policy-jdk') diff --git a/policy-jdk/alpine/pom.xml b/policy-jdk/alpine/pom.xml index 02aca4b8..d5f1e3cd 100644 --- a/policy-jdk/alpine/pom.xml +++ b/policy-jdk/alpine/pom.xml @@ -2,6 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2019 Ericsson, Tieto. All rights reserved. Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. + Modifications Copyright (C) 2022 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -58,6 +59,10 @@ + + io.github.git-commit-id + git-commit-id-maven-plugin + io.fabric8 docker-maven-plugin diff --git a/policy-jdk/alpine/src/main/docker/Dockerfile b/policy-jdk/alpine/src/main/docker/Dockerfile index ca4021b1..69a0c390 100644 --- a/policy-jdk/alpine/src/main/docker/Dockerfile +++ b/policy-jdk/alpine/src/main/docker/Dockerfile @@ -26,6 +26,14 @@ FROM onap/integration-python:9.1.0 LABEL maintainer="Policy Team" +LABEL org.opencontainers.image.title="Policy JDK Alpine" +LABEL org.opencontainers.image.description="Policy Java 11 JDK image based on Alpine" +LABEL org.opencontainers.image.url="https://github.com/onap/policy-docker" +LABEL org.opencontainers.image.vendor="ONAP Policy Team" +LABEL org.opencontainers.image.licenses="Apache-2.0" +LABEL org.opencontainers.image.created="${git.build.time}" +LABEL org.opencontainers.image.version="${git.build.version}" +LABEL org.opencontainers.image.revision="${git.commit.id.abbrev}" ENV POLICY_HOME=/opt/app/policy -- cgit 1.2.3-korg