summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-10-12 13:00:27 -0400
committerTaka Cho <takamune.cho@att.com>2020-10-12 13:01:43 -0400
commit2f49e3162132f59abee6b7b713918fafec9213bf (patch)
tree23b465626cad913612bf4ccaca2bd247c8c283f7
parentbe3e1cb27dfeb3748470cd3d8461ac489b0d5b3e (diff)
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 <takamune.cho@att.com>
-rw-r--r--packages/docker/src/main/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
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 && \