From 0eab4f25786569df17e49006492b5737e27f689c Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Tue, 20 Jun 2017 17:32:25 -0500 Subject: [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 --- policy-drools/Dockerfile | 1 + policy-drools/do-start.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'policy-drools') 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" -- cgit 1.2.3-korg