diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-06-20 17:32:25 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-06-20 17:32:25 -0500 |
commit | 0eab4f25786569df17e49006492b5737e27f689c (patch) | |
tree | 7967fcebd4d361062dfd16b6f2dd9c8909f0ad90 /policy-drools | |
parent | dc8bdd52bb796ae08b8a24d95632e95ccb325a2d (diff) |
[POLICY-26] relocating pip install
pip needs to be installed as root.
In addition, additional verbosity added to push_policies.sh
without sideeffects.
Change-Id: I7c86b851e440261aaf94833dd4d30ba8d633e9ee
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-drools')
-rw-r--r-- | policy-drools/Dockerfile | 1 | ||||
-rw-r--r-- | policy-drools/do-start.sh | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/policy-drools/Dockerfile b/policy-drools/Dockerfile index 5a5c0ad9..9ee0f488 100644 --- a/policy-drools/Dockerfile +++ b/policy-drools/Dockerfile @@ -1,5 +1,6 @@ FROM onap/policy/policy-base +RUN pip install http-prompt RUN mkdir -p /opt/app/policy /tmp/policy-install && chown policy /opt/app/policy /tmp/policy-install WORKDIR /tmp/policy-install diff --git a/policy-drools/do-start.sh b/policy-drools/do-start.sh index bc20e4e1..7fead2f6 100644 --- a/policy-drools/do-start.sh +++ b/policy-drools/do-start.sh @@ -37,8 +37,6 @@ else ./wait-for-port.sh mariadb 3306 # now that DB is up, invoke database upgrade: # sql provisioning scripts should be invoked here. - - pip install http-prompt fi echo "Starting processes" |