aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-09-15 16:02:56 +0530
committermukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com>2020-09-15 16:02:56 +0530
commit963edead12db0855336af5ad464296ca74f387d2 (patch)
tree084bc8d2598b30a00b23c322237c21657efb1f01
parenteb458c382bb9834a398a385c706985b647ee0b23 (diff)
Docker image is not creating due to permission denied
Issue-ID: DCAEGEN2-2283 Signed-off-by: mukesh.paliwal1@huawei.com <mukesh.paliwal1@huawei.com> Change-Id: Icd04eed5624a30dacc142a9aeda0dda1a0422dbf
-rw-r--r--UniversalVesAdapter/pom.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/UniversalVesAdapter/pom.xml b/UniversalVesAdapter/pom.xml
index f768f57..9671426 100644
--- a/UniversalVesAdapter/pom.xml
+++ b/UniversalVesAdapter/pom.xml
@@ -323,7 +323,7 @@
<tag>${project.version}-${maven.build.timestamp}Z</tag>
<tag>${project.version}</tag>
</imageTags>
- <baseImage>onap/integration-java11:7.0.0</baseImage>
+ <baseImage>openjdk:11-jre-slim</baseImage>
<env>
<HOSTALIASES>/etc/host.aliases</HOSTALIASES>
</env>
@@ -335,9 +335,9 @@
</resource>
</resources>
<runs>
- <run>sudo chmod a+rx bin/run.sh</run>
+ <run>chmod +x bin/run.sh</run>
<run>
- <![CDATA[apk update && apk add curl && apk add --no-cache openjdk11 && apk add vim]]>
+ <![CDATA[apt-get update && apt-get install -y --no-install-recommends procps && apt-get install -y vim && apt-get install -y curl && apt-get clean all]]>
</run>
</runs>
<exposes>