File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ 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-toolset-13 rust cargo \
7+ dnf install -y git cmake ninja-build gcc-c++ rust cargo \
88 python3 python3-devel && \
99 dnf clean all
1010
1111# Set up GCC toolset and compilers
12- ENV CC=/opt/rh/gcc-toolset-13/root/usr/bin/gcc
13- ENV CXX=/opt/rh/gcc-toolset-13/root/usr/bin/g++
12+ # ENV CC=/opt/rh/gcc-toolset-13/root/usr/bin/gcc
13+ # ENV CXX=/opt/rh/gcc-toolset-13/root/usr/bin/g++
1414
1515# Set Python and pip aliases to use Python 3.9
1616RUN ln -sf /usr/bin/python3 /usr/bin/python && \
@@ -20,7 +20,8 @@ COPY requirements.txt .
2020# Install Python packages via pip
2121RUN pip install wheel setuptools pyyaml typing_extensions expecttest
2222
23- RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
23+ #RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
24+ RUN pip install -r requirements.txt
2425
2526# Copy the PyTorch source code into the container
2627COPY . /workspace/pytorch
You can’t perform that action at this time.
0 commit comments