File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
ci/docker/connector_test_fips Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- FROM centos:7
1+ FROM centos:8
22
33# This is to solve permission issue, read https://denibertovic.com/posts/handling-permissions-with-docker-volumes/
44RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64"
@@ -12,8 +12,13 @@ RUN chmod 777 /home/user
1212
1313ENTRYPOINT ["/usr/local/bin/entrypoint.sh" ]
1414
15- RUN yum install -y redhat-rpm-config gcc libffi-devel openssl openssl-devel centos-release-scl && \
16- yum install -y rh-python38 rh-python38-python-devel && \
15+ RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
16+ sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
17+ sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
18+
19+ RUN yum clean all && \
20+ yum install -y redhat-rpm-config gcc libffi-devel openssl openssl-devel && \
21+ yum install -y python38 python38-devel && \
1722 yum clean all && \
1823 rm -rf /var/cache/yum
19- RUN scl enable rh-python38 " python3.8 -m pip install --user --upgrade pip setuptools wheel"
24+ RUN python3 -m pip install --user --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments