X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=c0b18fadbb488a7a9b2429a9b46ed24a360f7846;hb=58d5a115f561efca3b32a03b1d6d496939e44411;hp=9a06b29535e6578fdd0e5aefc20cc02c0cac17dd;hpb=439954be802b246cb0f89ee7347d167419526f9d;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index 9a06b29..c0b18fa 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -1,7 +1,7 @@ # ============LICENSE_START========================================== # ONAP : APPC # =================================================================== -# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed @@ -21,7 +21,7 @@ # ============LICENSE_END============================================ # Base ubuntu with added packages needed for ONAP -FROM onap/ccsdk-odlsli-image:v0.1.0 +FROM onap/ccsdk-odlsli-alpine-image:0.4-STAGING-latest MAINTAINER APP-C Team (appc@lists.openecomp.org) # Set the Env. Variable in the container to add the APPC CONFIG DIR (the SDNC_CONFIG_DIR is inherited from SDNC Image) @@ -30,16 +30,18 @@ ENV APPC_CONFIG_DIR /opt/onap/appc/data/properties # Copy the opt folder to the container's /opt folder COPY opt /opt -# We are keeping the feature installers in their -# own folders in the docker staging repository. -# The number of feature directories is defined in -# the installZips.sh file. -COPY featureDir1 /opt/onap/appc/features -COPY featureDir2 /opt/onap/appc/features -COPY featureDir3 /opt/onap/appc/features -COPY featureDir4 /opt/onap/appc/features +#Copy the directory containing each features' install script +COPY featureDir /opt/onap/appc/features + +#Copy the directory containing a system folder and an etc folder in order +# to merge both of these with the opendaylight folders of the same names. +COPY repoDir /opt/opendaylight + RUN ln -s /opt/onap/appc /opt/appc +#Start opendaylight and pre-install the appc features +RUN opt/onap/appc/bin/dockerInstall.sh + # Expose port 8181 for ODL REST calls EXPOSE 8181