From 89b62d52f1574d6da478bed611123b52fd22b7e1 Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Wed, 22 Feb 2023 16:29:50 +0000 Subject: Add kserve docker image details in package Issue-ID: POLICY-4525 Signed-off-by: aravind.est Change-Id: I068d561ddf32619d632e94b1222badf20258539a --- .../src/main/docker/KserveParticipant-Suse.Dockerfile | 2 +- .../policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile | 3 ++- packages/pom.xml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'packages') 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 df8603d70..b4d204956 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 @@ RUN zypper -n -q install --no-recommends gzip java-11-openjdk-headless netcat-op 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 de60cc805..23b32eb57 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 @@ RUN mkdir /packages /extracted 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 @@ ARG POLICY_LOGS=/var/log/onap/policy/kserve-participant 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 204a7633a..ce7f5e5f3 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -59,6 +59,7 @@ KubernetesParticipant.Dockerfile HttpParticipant.Dockerfile A1pmsParticipant.Dockerfile + KserveParticipant.Dockerfile ElementParticipant.Dockerfile @@ -75,6 +76,7 @@ KubernetesParticipant-Suse.Dockerfile HttpParticipant-Suse.Dockerfile A1pmsParticipant-Suse.Dockerfile + KserveParticipant-Suse.Dockerfile ElementParticipant-Suse.Dockerfile -- cgit 1.2.3-korg