From 2f49e3162132f59abee6b7b713918fafec9213bf Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Mon, 12 Oct 2020 13:00:27 -0400 Subject: 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 --- packages/docker/src/main/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) 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 && \ -- cgit 1.2.3-korg