We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d3bad commit b5acb92Copy full SHA for b5acb92
.ci/docker/manywheel/Dockerfile_ppc64le
@@ -38,7 +38,11 @@ RUN apt install -y \
38
liblapack-dev \
39
libatlas-base-dev
40
41
-RUN apt install -y linux-headers-$(uname -r) || apt install -y linux-headers-generic
+# Handle linux-headers installation gracefully
42
+RUN apt-get update && \
43
+ (apt install -y linux-headers-$(uname -r) || apt install -y linux-headers-generic || \
44
+ echo "Skipping linux-headers installation as it is not critical") && \
45
+ apt-get clean && rm -rf /var/lib/apt/lists/*
46
47
# git236+ would refuse to run git commands in repos owned by other users
48
# Which causes version check to fail, as pytorch repo is bind-mounted into the image
0 commit comments