Merge "Release version 0.6.0"
[ccsdk/distribution.git] / lighty / lighty-ubuntu-docker / src / main / docker / Dockerfile
1 # Base ubuntu with added packages needed for open ecomp
2 FROM onap/ccsdk-ubuntu-image:${project.docker.latestfulltag.version}
3 MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
4 ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
5 ENV ODL_HOME /opt/opendaylight/current
6
7 # copy the opendaylight tar and expand
8 COPY ${lighty.app.zip} /tmp/lighty/
9 RUN mkdir -p /opt/lighty \
10     && unzip /tmp/lighty/${lighty.app.zip} -d /opt/lighty \
11     && rm -rf /tmp/lighty
12
13 COPY opt /opt
14
15 ENTRYPOINT /opt/onap/ccsdk/bin/startODL.sh
16 EXPOSE 8181