X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=449c6af63e698b0bd3d21882fd2bfa0d448b20ff;hb=9d72f25a464d5be9fa4ecc072dbad85edfeb5895;hp=ab3e2f23b50beca77f0daebba3f6d505acab470e;hpb=95ef2ec2871013b21806fc00cd27f6483da82a56;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index ab3e2f2..449c6af 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -21,9 +21,15 @@ # ============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.7.0 MAINTAINER APP-C Team (appc@lists.openecomp.org) +# run as root to install ps to comply with karaf scripts +USER root +RUN apk add --no-cache procps +RUN apk add --no-cache openssh +RUN apk add --no-cache sshpass + # 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 @@ -37,11 +43,15 @@ COPY --chown=odl:odl featureDir /opt/onap/appc/features # to merge both of these with the opendaylight folders of the same names. COPY --chown=odl:odl repoDir /opt/opendaylight RUN chown -R odl:odl /opt + USER odl RUN ln -s /opt/onap/appc /opt/appc +# cvass dir stores VNF's configure via Audit or Sync LCM +RUN mkdir /opt/onap/appc/cvaas + #Start opendaylight and pre-install the appc features -RUN opt/onap/appc/bin/dockerInstall.sh +#RUN opt/onap/appc/bin/dockerInstall.sh # Expose port 8181 for ODL REST calls EXPOSE 8181