summaryrefslogtreecommitdiffstats
path: root/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-04-29 11:42:43 +0200
committersebdet <sebastien.determe@intl.att.com>2019-04-29 11:42:43 +0200
commit68a1484db6e08374cf2f688209164c68318d96a4 (patch)
tree68f2bcdcba99aca64f66e5104b581ac0347ee10b /src/main/docker/Dockerfile
parent029e6b429728dc747b488149d2a61468490c259e (diff)
Fix csar crash
Fix the csar crash during csar installation, the crash was located in the sun library probably due to Font missing Issue-ID: CLAMP-361 Change-Id: I0275320240e561c05dad4b8fbbfb3ff7b7baedb4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/main/docker/Dockerfile')
-rw-r--r--src/main/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index f2c7edd8e..e59146c4b 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -20,6 +20,8 @@ RUN chmod 700 /opt/clamp/app.jar
RUN chown -R clamp:onap /opt/clamp
+RUN apk add fontconfig
+
USER clamp
WORKDIR /opt/clamp/
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xms256m", "-Xmx1g", "-jar" ,"./app.jar"]