summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-06 08:28:50 -0600
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-06 08:28:50 -0600
commit5ea44baa2e73af2f4404809656622955c1df7ec7 (patch)
treeccc6bc2185907d8b46a46b9d84691a8455db7b3b /packages
parent9bc90a60d8248410cd2aca9ff394b86a7e839a2d (diff)
Fix JAVA_HOME in docker image
JAVA_HOME is known at image creation. Change-Id: I7274c47b5e890870d61949109ed2e1292a049eb9 Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 4d46ba0b..831ea543 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -6,6 +6,8 @@ ARG POLICY_LOGS=/var/log/onap/policy/pdpd
ARG POLICY_INSTALL=/tmp/policy-install
ENV BUILD_VERSION ${BUILD_VERSION}
+ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
+
ENV POLICY_INSTALL ${POLICY_INSTALL}
ENV POLICY_HOME ${POLICY_HOME}
ENV POLICY_LOGS ${POLICY_LOGS}