{feature}-installer.zip not copied to sdnc-img
[sdnc/oam.git] / installation / sdnc / src / main / docker / Dockerfile
1 # Base ubuntu with added packages needed for open ecomp
2 FROM ecomp/ubuntu-sdnc-image:${project.version}
3 MAINTAINER SDN-C Team (sdnc@lists.openecomp.org)
4 ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
5 ENV ODL_HOME /opt/opendaylight/current
6 ENV SDNC_CONFIG_DIR /opt/openecomp/sdnc/data/properties
7
8 # copy the opendaylight tar and expand
9 COPY distribution-karaf-0.4.2-Beryllium-SR2.tar.gz /tmp
10 RUN mkdir /opt/opendaylight /opt/openecomp
11 RUN tar zxvf /tmp/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz --directory /opt/opendaylight
12 RUN ln -s /opt/opendaylight/distribution-karaf-0.4.2-Beryllium-SR2 /opt/opendaylight/current
13 COPY idmlight.db.mv.db /opt/opendaylight/current
14
15 # copy openecomp
16 COPY opt /opt
17 RUN ln -s /opt/openecomp/sdnc /opt/sdnc
18
19 # workaround till we get proxy working
20 COPY mysql.tgz /tmp
21 RUN tar zxvf /tmp/mysql.tgz --directory /opt/opendaylight/current/system
22 # ENTRYPOINT exec /opt/opendaylight/current/bin/karaf
23 EXPOSE 8181