summaryrefslogtreecommitdiffstats
path: root/lighty/lighty-ubuntu-docker/src/main/docker/Dockerfile
blob: fbf9356f322f11f11e47e5a8eeec5649c38a4ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Base ubuntu with added packages needed for open ecomp
FROM onap/ccsdk-ubuntu-image:${project.docker.latestfulltag.version}
MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
ENV ODL_HOME /opt/opendaylight/current

# copy the opendaylight tar and expand
COPY ${lighty.app.zip} /tmp/lighty/
RUN mkdir -p /opt/lighty \
    && unzip /tmp/lighty/${lighty.app.zip} -d /opt/lighty \
    && rm -rf /tmp/lighty

COPY opt /opt

ENTRYPOINT /opt/onap/ccsdk/bin/startODL.sh
EXPOSE 8181