diff options
author | Taka Cho <takamune.cho@att.com> | 2019-06-17 11:46:55 -0400 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-06-18 20:19:42 +0000 |
commit | 62f4cabff6a78c59744e2ee87becdd9bdeb7bf70 (patch) | |
tree | 7efa61d3c86c742bdf0312bb32ba2fada3695586 /installation | |
parent | fd52d134f47a21b205e175fcc331ce8a0c0c5d45 (diff) |
add package: procps
added apk add --no-cache procps
to resolve ps version problem
Issue-ID: APPC-1628
Change-Id: I340a82d9494afa87e74b142e0e92e2f98e460649
Signed-off-by: Taka Cho <takamune.cho@att.com>
(cherry picked from commit 7a8a3c1fcc16eb42d75f08ab267294ac2f23355e)
Diffstat (limited to 'installation')
-rw-r--r-- | installation/appc/src/main/docker/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |