Merge "Add kserve docker image details in package"
diff --git a/packages/policy-clamp-docker/src/main/docker/KserveParticipant-Suse.Dockerfile b/packages/policy-clamp-docker/src/main/docker/KserveParticipant-Suse.Dockerfile
index df8603d..b4d2049 100755
--- a/packages/policy-clamp-docker/src/main/docker/KserveParticipant-Suse.Dockerfile
+++ b/packages/policy-clamp-docker/src/main/docker/KserveParticipant-Suse.Dockerfile
@@ -52,7 +52,7 @@
COPY --chown=policy:policy --from=tarball /extracted $POLICY_HOME
WORKDIR $POLICY_HOME
-COPY --chown=policy:policy kubernetes-participant.sh bin/
+COPY --chown=policy:policy kserve-participant.sh bin/
COPY --chown=policy:policy /maven/policy-clamp-participant-impl-kserve.jar /app/app.jar
RUN chmod 755 bin/*.sh
diff --git a/packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile b/packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile
index de60cc8..23b32eb 100755
--- a/packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile
+++ b/packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile
@@ -23,7 +23,7 @@
COPY /maven/lib/kserve-participant.tar.gz /packages/
RUN tar xvzf /packages/kserve-participant.tar.gz --directory /extracted/
-FROM onap/policy-jre-alpine:2.5.2-SNAPSHOT
+FROM onap/policy-jre-alpine:2.6.1-SNAPSHOT
LABEL maintainer="Policy Team"
LABEL org.opencontainers.image.title="Policy CLAMP ACM KSERVE Participant"
@@ -40,6 +40,7 @@
ENV POLICY_LOGS=$POLICY_LOGS
ENV POLICY_HOME=$POLICY_HOME/clamp
+USER root
RUN mkdir -p $POLICY_HOME $POLICY_LOGS && \
chown -R policy:policy $POLICY_HOME $POLICY_LOGS
diff --git a/packages/pom.xml b/packages/pom.xml
index 204a763..ce7f5e5 100644
--- a/packages/pom.xml
+++ b/packages/pom.xml
@@ -59,6 +59,7 @@
<docker.clamp-ac-k8s-ppnt.dockerFile>KubernetesParticipant.Dockerfile</docker.clamp-ac-k8s-ppnt.dockerFile>
<docker.clamp-ac-http-ppnt.dockerFile>HttpParticipant.Dockerfile</docker.clamp-ac-http-ppnt.dockerFile>
<docker.clamp-ac-a1pms-ppnt.dockerFile>A1pmsParticipant.Dockerfile</docker.clamp-ac-a1pms-ppnt.dockerFile>
+ <docker.clamp-ac-kserve-ppnt.dockerFile>KserveParticipant.Dockerfile</docker.clamp-ac-kserve-ppnt.dockerFile>
<docker.clamp-acm-element-impl.dockerFile>ElementParticipant.Dockerfile</docker.clamp-acm-element-impl.dockerFile>
</properties>
</profile>
@@ -75,6 +76,7 @@
<docker.clamp-ac-k8s-ppnt.dockerFile>KubernetesParticipant-Suse.Dockerfile</docker.clamp-ac-k8s-ppnt.dockerFile>
<docker.clamp-ac-http-ppnt.dockerFile>HttpParticipant-Suse.Dockerfile</docker.clamp-ac-http-ppnt.dockerFile>
<docker.clamp-ac-a1pms-ppnt.dockerFile>A1pmsParticipant-Suse.Dockerfile</docker.clamp-ac-a1pms-ppnt.dockerFile>
+ <docker.clamp-ac-kserve-ppnt.dockerFile>KserveParticipant-Suse.Dockerfile</docker.clamp-ac-kserve-ppnt.dockerFile>
<docker.clamp-acm-element-impl.dockerFile>ElementParticipant-Suse.Dockerfile</docker.clamp-acm-element-impl.dockerFile>
</properties>
</profile>