OCI image spec labels for drools-apps
[policy/drools-applications.git] / controlloop / packages / docker-controlloop / src / main / docker / Dockerfile
index e236f8b..424a24b 100644 (file)
@@ -2,6 +2,7 @@
 # Dockerfile
 # ============LICENSE_START=======================================================
 #  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.
 
 FROM onap/policy-drools:@version.policy.drools-pdp@
 
+LABEL maintainer="Policy Team"
+LABEL org.opencontainers.image.title="Policy Drools Applications"
+LABEL org.opencontainers.image.description="Policy Drools Applications image"
+LABEL org.opencontainers.image.url="https://github.com/onap/policy-drools-applications"
+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}"
+
 ARG BUILD_VERSION_APP_CL=${BUILD_VERSION_APP_CL}
 ENV BUILD_VERSION_APP_CL=${BUILD_VERSION_APP_CL}