@@ -10,8 +10,8 @@ RUN echo '[goreleaser]\nname=GoReleaser\nbaseurl=https://repo.goreleaser.com/yum
1010 xz \
1111 wget \
1212 which \
13- gcc-toolset-13 -gcc \
14- gcc-toolset-13 -gcc-c++ \
13+ gcc-toolset-14 -gcc \
14+ gcc-toolset-14 -gcc-c++ \
1515 clang \
1616 git \
1717 make \
@@ -32,29 +32,15 @@ RUN echo '[goreleaser]\nname=GoReleaser\nbaseurl=https://repo.goreleaser.com/yum
3232 # Python venv
3333 python3 -m venv /opt/venv; \
3434 \
35- cp /opt/rh/gcc-toolset-13 /enable /etc/profile.d/gcc-toolset-13 .sh; \
36- echo "source /etc/profile.d/gcc-toolset-13 .sh" >> /etc/bashrc
35+ cp /opt/rh/gcc-toolset-14 /enable /etc/profile.d/gcc-toolset-14 .sh; \
36+ echo "source /etc/profile.d/gcc-toolset-14 .sh" >> /etc/bashrc
3737
3838# Install CMake
3939COPY install/install_cmake.sh /tmp/
4040RUN bash /tmp/install_cmake.sh
4141
42- # Rocky 9's system libstdc++ (GCC 11, GLIBCXX_3.4.28) is too old for the
43- # prebuilt LLVM 21 binaries (need 3.4.30+). Pull a newer libstdc++ from
44- # Fedora 43 which provides GLIBCXX_3.4.34 and is built against a compatible
45- RUN dnf install -y \
46- --repofrompath=fedora,'https://dl.fedoraproject.org/pub/fedora/linux/releases/43/Everything/$basearch/os/' \
47- --setopt=fedora.gpgcheck=0 \
48- --disablerepo='*' --enablerepo=fedora \
49- libstdc++ && \
50- dnf clean all
51-
52- # Install LLVM 21 for RediSearch LTO (Rocky 9 + Rocky 10; see install_llvm.sh).
53- COPY install/install_llvm.sh /tmp/
54- RUN bash /tmp/install_llvm.sh
55-
5642# Set environment
57- ENV PATH="/opt/llvm/bin:/ usr/local/bin:/opt/venv/bin:${PATH}"
43+ ENV PATH="/usr/local/bin:/opt/venv/bin:${PATH}"
5844WORKDIR /build
5945
6046# Default command
0 commit comments