summaryrefslogtreecommitdiffstats
path: root/policy-db-migrator/src
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-06-28 17:39:32 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-06-29 10:24:51 +0100
commitcf99a6b2853a9c3982bdf18e5c6c2eec0a332d26 (patch)
tree82f33473081bf1806e70f89ca3c5c3aa616f11f9 /policy-db-migrator/src
parent7b7ee11f58a1cf31bbfa4a41db213ee567f8c725 (diff)
OCI image spec labels for policy-docker images
Issue-ID: POLICY-4264 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399
Diffstat (limited to 'policy-db-migrator/src')
-rw-r--r--policy-db-migrator/src/main/docker/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/policy-db-migrator/src/main/docker/Dockerfile b/policy-db-migrator/src/main/docker/Dockerfile
index 0fbbdb3c..ccea8870 100644
--- a/policy-db-migrator/src/main/docker/Dockerfile
+++ b/policy-db-migrator/src/main/docker/Dockerfile
@@ -21,6 +21,14 @@
FROM onap/policy-jdk-alpine:2.3.1
LABEL maintainer="Policy Team"
+LABEL org.opencontainers.image.title="Policy db-migrator"
+LABEL org.opencontainers.image.description="Policy db-migrator 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 JAVA_HOME /usr/lib/jvm/java-11-openjdk
ENV POLICY_ETC /opt/app/policy/etc