afc022008f
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>
14 lines
1018 B
Docker
14 lines
1018 B
Docker
FROM centos:7.9.2009
|
|
RUN yum install -y \
|
|
pciutils which hwloc-libs libuuid-devel \
|
|
sysvinit-tools epel-release \
|
|
https://mirror.starlingx.windriver.com/mirror/centos/github.com/OPAE/opae-sdk/releases/download/1.3.7-5/opae-devel-1.3.7-5.el7.x86_64.rpm \
|
|
https://mirror.starlingx.windriver.com/mirror/centos/github.com/OPAE/opae-sdk/releases/download/1.3.7-5/opae-libs-1.3.7-5.el7.x86_64.rpm \
|
|
https://mirror.starlingx.windriver.com/mirror/centos/github.com/OPAE/opae-sdk/releases/download/1.3.7-5/opae-tools-1.3.7-5.el7.x86_64.rpm \
|
|
https://mirror.starlingx.windriver.com/mirror/centos/github.com/OPAE/opae-sdk/releases/download/1.3.7-5/opae-tools-extra-1.3.7-5.el7.x86_64.rpm \
|
|
https://mirror.starlingx.windriver.com/mirror/centos/github.com/OPAE/opae-sdk/releases/download/1.3.7-5/opae.admin-1.0.3-2.el7.noarch.rpm && \
|
|
yum install -y python-pip && \
|
|
yum clean all && \
|
|
rm -rf /var/cache/yum
|
|
RUN pip install --trusted-host pypi.python.org intelhex
|