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:
parent
047a8b6878
commit
bd61564b58
@ -27,7 +27,7 @@ ENV GIT_PROXY_COMMAND="oe-git-proxy"
|
|||||||
ENV NO_PROXY="*"
|
ENV NO_PROXY="*"
|
||||||
|
|
||||||
COPY . /kas
|
COPY . /kas
|
||||||
RUN pip3 install /kas
|
RUN pip3 --proxy=$https_proxy install /kas
|
||||||
|
|
||||||
ENV LANG=$LOCALE
|
ENV LANG=$LOCALE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user