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 <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2017-07-19 08:51:21 +02:00 committed by Daniel Wagner
parent 047a8b6878
commit bd61564b58

View File

@ -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