Skip to content

Commit

Permalink
[ENHANCEMENT] fixing the script to generate the binary
Browse files Browse the repository at this point in the history
  • Loading branch information
waldirio authored Sep 11, 2024
1 parent 8dfdce6 commit 2cd2d9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/container_package/Containerfile.py_38
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down

0 comments on commit 2cd2d9b

Please sign in to comment.