diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2021-03-19 15:08:22 -0400 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2021-03-29 14:31:39 +0000 |
commit | 11687d2f164326e65b2d038563bc9dcda5e42acc (patch) | |
tree | 5f44c0934e3997b09bd0edd00409dbbfae3ad20d /ms/py-executor/pom.xml | |
parent | 53341bfd9e0ed5511ae5246cecc6a840e0dd1136 (diff) |
Fixing DockerFile to avoid IOException
chown on /opt isn't enough as files/directory permissions needs change so that onap user can access to execute
Even if chown onap:onap was done, it was failing to create/run script due to permission issues
Adding noCache to docker-maven-plugin so that it won't pick cached layers
Issue-ID: CCSDK-3224
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Change-Id: Idf56465eff6fa42b523bccfca56f84e93496a8d2
Diffstat (limited to 'ms/py-executor/pom.xml')
-rw-r--r-- | ms/py-executor/pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ms/py-executor/pom.xml b/ms/py-executor/pom.xml index 6efb57daf..a39767b35 100644 --- a/ms/py-executor/pom.xml +++ b/ms/py-executor/pom.xml @@ -26,7 +26,7 @@ <artifactId>py-executor</artifactId> - <name>MS Python Script Executor</name> + <name>MS Python Executor</name> <description>Micro-service providing python environment with gRPC binding for python script execution</description> <properties> @@ -117,6 +117,7 @@ <name>${image.name}</name> <build> <cleanup>try</cleanup> + <noCache>true</noCache> <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> <tags> <tag>${project.docker.latestminortag.version}</tag> |