Adding pypi.python.org to trusted hosts
When trying to install a python package, pip is not able to verify the ssl cert. This change add --trusted-host parameter to pip so we're able to install the package from this specific host until we update the base image. Test Plan: PASS: Build image using docker build Closes-Bug: 2065330 Change-Id: Iffcef09d97fc7e71339f357e748281ade86e52aa Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
This commit is contained in:
parent
a02fc9a62e
commit
afc022008f
@ -10,4 +10,4 @@ RUN yum install -y \
|
|||||||
yum install -y python-pip && \
|
yum install -y python-pip && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum
|
rm -rf /var/cache/yum
|
||||||
RUN pip install intelhex
|
RUN pip install --trusted-host pypi.python.org intelhex
|
||||||
|
Loading…
Reference in New Issue
Block a user