File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM registry.access.redhat.com/ubi9/ubi:9.3
44# Install necessary dependencies
55RUN dnf install -y \
66 https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
7- dnf install -y git cmake ninja-build gcc-c++ rust cargo \
7+ dnf install -y git cmake ninja-build gcc-toolset-13 rust cargo \
88 python3 python3-devel && \
99 dnf clean all
1010
@@ -16,7 +16,7 @@ COPY requirements.txt .
1616# Install Python packages via pip
1717RUN pip install wheel setuptools pyyaml typing_extensions expecttest
1818
19- RUN pip install -r requirements.txt
19+ RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
2020
2121# Copy the PyTorch source code into the container
2222COPY . /workspace/pytorch
You can’t perform that action at this time.
0 commit comments