X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=b19c3ebd96f7b51629a6cce9ac2c0636bfacd2aa;hb=7a8a3c1fcc16eb42d75f08ab267294ac2f23355e;hp=b1e6a88a30bc48ff807ad3126d55ad3c31620d8e;hpb=b6f8975d0aa467d7a35ffcb5a85080b2ce5fe8f9;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/docker/Dockerfile b/installation/appc/src/main/docker/Dockerfile index b1e6a88..b19c3eb 100644 --- a/installation/appc/src/main/docker/Dockerfile +++ b/installation/appc/src/main/docker/Dockerfile @@ -24,6 +24,10 @@ FROM onap/ccsdk-odlsli-alpine-image:0.4.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