X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=8ea9e1acca02f90ab7666956fd91997ad7969e68;hb=6989e98ea8d2293aa90aacc1b864fb724643156e;hp=b1e6a88a30bc48ff807ad3126d55ad3c31620d8e;hpb=7480619227377cade2f2119865a87b41641314c5;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index b1e6a88..8ea9e1a 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -21,9 +21,13 @@ # ============LICENSE_END============================================ # Base ubuntu with added packages needed for ONAP -FROM onap/ccsdk-odlsli-alpine-image:0.4.1 +FROM onap/ccsdk-odlsli-alpine-image:0.5.1 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 + # 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,6 +41,7 @@ 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 @@ -44,7 +49,7 @@ RUN ln -s /opt/onap/appc /opt/appc 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