From 2cd2d9b67b87f164575bb86f4fb699357436a6dc Mon Sep 17 00:00:00 2001 From: Waldirio M Pinheiro Date: Tue, 10 Sep 2024 23:14:04 -0700 Subject: [PATCH] [ENHANCEMENT] fixing the script to generate the binary --- tests/container_package/Containerfile.py_38 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/container_package/Containerfile.py_38 b/tests/container_package/Containerfile.py_38 index 370a45d..7350397 100644 --- a/tests/container_package/Containerfile.py_38 +++ b/tests/container_package/Containerfile.py_38 @@ -1,6 +1,10 @@ FROM docker.io/dokken/centos-7 WORKDIR /app + +RUN rm -rf /etc/yum.repos.d/* && \ + echo -e "[base]\nname=CentOS\nbaseurl=https://vault.centos.org/7.9.2009/os/x86_64/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7\n\n[updates]\nname=CentOS-$releasever-Updates\nbaseurl=https://vault.centos.org/7.9.2009/updates/x86_64/\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7" >/etc/yum.repos.d/local.repo + RUN yum install gcc zlib-devel openssl-devel libffi-devel git -y && \ yum clean all && \ wget https://www.python.org/ftp/python/3.8.18/Python-3.8.18.tgz && \