From: Taka Cho Date: Mon, 12 Oct 2020 17:00:27 +0000 (-0400) Subject: enforce httpie 1.0.3 installed X-Git-Tag: 1.7.4~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2f49e3162132f59abee6b7b713918fafec9213bf;p=policy%2Fdrools-pdp.git enforce httpie 1.0.3 installed http-prompt has a compatibility issue with httpie 2.x.x enforce to use httpie 1.0.3 Issue-ID: POLICY-2864 Change-Id: Ibfdd9afb48d0f755051516edb9ab790f12331cdc Signed-off-by: Taka Cho --- diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile index e78d439f..0ddb829e 100644 --- a/packages/docker/src/main/docker/Dockerfile +++ b/packages/docker/src/main/docker/Dockerfile @@ -49,6 +49,8 @@ RUN apk update && \ && update-alternatives --install /usr/bin/python python /usr/bin/python3 0 \ && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \ && pip install --upgrade setuptools http-prompt \ + && pip uninstall -y httpie \ + && pip install httpie==1.0.3 \ && rm -r /root/.cache RUN mkdir -p $POLICY_CONFIG $POLICY_LOGS $POLICY_INSTALL_INIT && \