aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile
diff options
context:
space:
mode:
authoraravind.est <aravindhan.a@est.tech>2023-02-22 16:29:50 +0000
committeraravind.est <aravindhan.a@est.tech>2023-02-22 18:00:28 +0000
commit89b62d52f1574d6da478bed611123b52fd22b7e1 (patch)
tree71aadddb2a91309ee809e33c1d46338eba818c31 /packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile
parentb44b2609a010894a2c1d3211f7099aed6a45fe64 (diff)
Add kserve docker image details in package
Issue-ID: POLICY-4525 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: I068d561ddf32619d632e94b1222badf20258539a
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile')
-rwxr-xr-xpackages/policy-clamp-docker/src/main/docker/KserveParticipant.Dockerfile3
1 files changed, 2 insertions, 1 deletions
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