From bd61564b58b216c04b1d7a60679c0487eb22385d Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 19 Jul 2017 08:51:21 +0200 Subject: [PATCH] docker: Set proxy for pip explicitly Some versions/configurations of pip do not seem to pick up the proxy settings from the environment. Help out via the command line. It's a nop when https_proxy is unset. Signed-off-by: Jan Kiszka --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 04dcb00..3f5beb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ ENV GIT_PROXY_COMMAND="oe-git-proxy" ENV NO_PROXY="*" COPY . /kas -RUN pip3 install /kas +RUN pip3 --proxy=$https_proxy install /kas ENV LANG=$LOCALE