Modify docker scripts to even out layers
[appc/deployment.git] / installation / appc / src / main / docker / Dockerfile
1 # Base ubuntu with added packages needed for ONAP
2 FROM onap/ccsdk-odlsli-image:v0.1.0
3 MAINTAINER APP-C Team (appc@lists.openecomp.org)
4
5 # Set the Env. Variable in the container to add the APPC CONFIG DIR (the SDNC_CONFIG_DIR is inherited from SDNC Image)
6 ENV APPC_CONFIG_DIR /opt/onap/appc/data/properties
7
8 # Copy the opt folder to the container's /opt folder
9 COPY opt /opt
10
11 # We are keeping the feature installers in their
12 # own folders in the docker staging repository.
13 # The number of feature directories is defined in
14 # the installZips.sh file.
15 COPY featureDir1 /opt/onap/appc/features
16 COPY featureDir2 /opt/onap/appc/features
17 COPY featureDir3 /opt/onap/appc/features
18 COPY featureDir4 /opt/onap/appc/features
19
20 RUN ln -s /opt/onap/appc /opt/appc
21
22 # Expose port 8181 for ODL REST calls
23 EXPOSE 8181