From f9cf683b4868cbe903141544a4ebcea517183453 Mon Sep 17 00:00:00 2001 From: abhishek8shankar <127825992+abhishek8shankar@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:17:25 +0530 Subject: [PATCH] [MOSIP-31575] Updated docker file. Signed-off-by: abhishek8shankar <127825992+abhishek8shankar@users.noreply.github.com> --- .../Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/registration-processor/init/registration-processor-packet-receiver-stage/Dockerfile b/registration-processor/init/registration-processor-packet-receiver-stage/Dockerfile index e67e32bf16f..2cf6842d41b 100644 --- a/registration-processor/init/registration-processor-packet-receiver-stage/Dockerfile +++ b/registration-processor/init/registration-processor-packet-receiver-stage/Dockerfile @@ -1,6 +1,17 @@ FROM openjdk:11 + #Uncomment below and Comment above line(i.e. FROM openjdk:8) for OS specific (e.g. Alpine OS ) docker base image #FROM openjdk:8-jdk-alpine + +ARG SOURCE +ARG COMMIT_HASH +ARG COMMIT_ID +ARG BUILD_TIME +LABEL source=${SOURCE} +LABEL commit_hash=${COMMIT_HASH} +LABEL commit_id=${COMMIT_ID} +LABEL build_time=${BUILD_TIME} + # setting labels for extra properties needed for this Docker image, so that it can be used at run time with docker inspect LABEL network=host LABEL privileged=true