From afc022008fecee8fba4680fe0bfbe2938f4f1fa9 Mon Sep 17 00:00:00 2001 From: Dostoievski Batista Date: Mon, 13 May 2024 10:07:58 -0300 Subject: [PATCH] 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 --- kubernetes/n3000/debian/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/n3000/debian/docker/Dockerfile b/kubernetes/n3000/debian/docker/Dockerfile index 4ba60e867..4c4c2352e 100644 --- a/kubernetes/n3000/debian/docker/Dockerfile +++ b/kubernetes/n3000/debian/docker/Dockerfile @@ -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