There is no need to install JDK inside Docker image since there
are prebuild images already available. This way we can reduce
build time and resulting Docker image size.
Change-Id: I7fcc2ecc47614cb4e26aec120f2a4297cd9e6000
Issue-ID: DCAEGEN2-535
Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
-FROM ubuntu:16.04
-#FROM dcae-alpine:8-jre-tini
+FROM openjdk:8-jre-slim
MAINTAINER vv770d@att.com
ENV JAVA_HOME /usr
ENV HOSTALIASES /etc/host.aliases
-RUN apt-get update && apt-get install -y curl vim openjdk-8-jdk
-
COPY opt /opt
EXPOSE 8080 8443