Add license text to files
[appc/deployment.git] / installation / appc / src / main / docker / Dockerfile
1 # ============LICENSE_START==========================================
2 # ONAP : APPC
3 # ===================================================================
4 # Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
5 # ===================================================================
6 #
7 # Unless otherwise specified, all software contained herein is licensed
8 # under the Apache License, Version 2.0 (the License);
9 # you may not use this software except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #    http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 #
20 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 # ============LICENSE_END============================================
22
23 # Base ubuntu with added packages needed for ONAP
24 FROM onap/ccsdk-odlsli-image:v0.1.0
25 MAINTAINER APP-C Team (appc@lists.openecomp.org)
26
27 # Set the Env. Variable in the container to add the APPC CONFIG DIR (the SDNC_CONFIG_DIR is inherited from SDNC Image)
28 ENV APPC_CONFIG_DIR /opt/onap/appc/data/properties
29
30 # Copy the opt folder to the container's /opt folder
31 COPY opt /opt
32
33 # We are keeping the feature installers in their
34 # own folders in the docker staging repository.
35 # The number of feature directories is defined in
36 # the installZips.sh file.
37 COPY featureDir1 /opt/onap/appc/features
38 COPY featureDir2 /opt/onap/appc/features
39 COPY featureDir3 /opt/onap/appc/features
40 COPY featureDir4 /opt/onap/appc/features
41
42 RUN ln -s /opt/onap/appc /opt/appc
43
44 # Expose port 8181 for ODL REST calls
45 EXPOSE 8181