X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=4b2080c8580315570fc74b1f20ba381e6c027728;hb=75b03b9079d049a83ac88dce63317251f1d130a0;hp=c0b18fadbb488a7a9b2429a9b46ed24a360f7846;hpb=58d5a115f561efca3b32a03b1d6d496939e44411;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index c0b18fa..4b2080c 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -21,23 +21,23 @@ # ============LICENSE_END============================================ # Base ubuntu with added packages needed for ONAP -FROM onap/ccsdk-odlsli-alpine-image:0.4-STAGING-latest +FROM onap/ccsdk-odlsli-alpine-image:0.4.1 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) ENV APPC_CONFIG_DIR /opt/onap/appc/data/properties # Copy the opt folder to the container's /opt folder -COPY opt /opt +COPY --chown=odl:odl opt /opt #Copy the directory containing each features' install script -COPY featureDir /opt/onap/appc/features +COPY --chown=odl:odl 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 - - +COPY --chown=odl:odl repoDir /opt/opendaylight +RUN chown -R odl:odl /opt +USER odl RUN ln -s /opt/onap/appc /opt/appc #Start opendaylight and pre-install the appc features