From 36d20914a5db84abd1e1a37aa1d2322636708a96 Mon Sep 17 00:00:00 2001 From: Waldirio M Pinheiro Date: Tue, 10 Sep 2024 22:12:34 -0700 Subject: [PATCH] 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 && \