Removed chmod command that fails image build. 60/110360/3
authorSchmalzried, Terry (ts862m) <ts862m@att.com>
Fri, 17 Jul 2020 20:26:22 +0000 (16:26 -0400)
committerSchmalzried, Terry (ts862m) <ts862m@att.com>
Fri, 17 Jul 2020 21:36:39 +0000 (17:36 -0400)
Removed RUN chmod command since it is not permitted by the
Java 11 baseimage that sets the USER to non-root user 'onap'.

Issue-ID: DCAEGEN2-2330
Change-Id: I189c1696f816b41e00af1bbc17d93efbcf03bf5e
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 510f573..04dde26 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -221,10 +221,9 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
                         <imageTag>latest</imageTag>
                     </imageTags>
                     <baseImage>onap/integration-java11:7.0.0</baseImage>
-                    <user>onap</user>
                     <runs>
-                        <run>chmod 666 /usr/local/openjdk-11/lib/security/cacerts</run>
                     </runs>
+                    <user>onap</user>
                     <!-- NOTE: Couldn't figure out how to package the jar to be named: ${project.build.finalName}. This might be
                             because of the clojure maven plugin -->
                     <entrypoint></entrypoint>