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:
Dostoievski Batista 2024-05-13 10:07:58 -03:00 committed by Dostoievski Albino Batista
parent a02fc9a62e
commit afc022008f

View File

@ -10,4 +10,4 @@ RUN yum install -y \
yum install -y python-pip && \
yum clean all && \
rm -rf /var/cache/yum
RUN pip install intelhex
RUN pip install --trusted-host pypi.python.org intelhex