Skip to content

Commit dab936c

Browse files
committed
fix: update CA certs before adding oneAPI repo in Dockerfile
Move the ca-certificates/nss update before copying the oneAPI repo config, so yum doesn't try to reach the untrusted Intel repo while updating certs.
1 parent 22d2960 commit dab936c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker/x86_64/manylinux2014/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
FROM quay.io/pypa/manylinux2014_x86_64:2024-07-15-c746fd8
1616

17-
COPY ./oneAPI.repo /etc/yum.repos.d/oneAPI.repo
18-
19-
# Update CA certificates so Intel's oneAPI repo TLS cert is trusted
17+
# Update CA certificates before adding oneAPI repo (its TLS cert needs newer CAs)
2018
RUN yum update -y ca-certificates nss && update-ca-trust
2119

20+
COPY ./oneAPI.repo /etc/yum.repos.d/oneAPI.repo
21+
2222
# Install gcc-11
2323
RUN yum --disablerepo=epel install -y \
2424
devtoolset-11-gcc \

0 commit comments

Comments
 (0)