Rebase to Fedora 42 with clang 20.1 and libstdc++ 15. JAVA8_HOME environment variable dropped since we no longer use it. cassandra-stress package updated with version that doesn't depend on no-longer-available Java 11. Optimized clang binaries generates and stored in https://devpkg.scylladb.com/clang/clang-20.1.7-Fedora-42-aarch64.tar.gz https://devpkg.scylladb.com/clang/clang-20.1.7-Fedora-42-x86_64.tar.gz Closes scylladb/scylladb#23978
20 lines
651 B
Docker
20 lines
651 B
Docker
FROM docker.io/fedora:42
|
|
|
|
ARG CLANG_BUILD="SKIP"
|
|
ARG CLANG_ARCHIVES
|
|
|
|
WORKDIR /mnt
|
|
RUN echo install_weak_deps=False >> /etc/dnf/dnf.conf
|
|
RUN dnf -y update \
|
|
&& dnf -y install 'dnf-command(copr)' \
|
|
&& dnf -y install ccache \
|
|
&& dnf -y install devscripts debhelper fakeroot file rpm-build \
|
|
&& ./install-dependencies.sh && dnf clean all \
|
|
&& rm -rf /root/.cache /root/.cargo \
|
|
&& echo 'ALL ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers \
|
|
&& cp ./tools/toolchain/system-auth /etc/pam.d \
|
|
&& echo 'Defaults !requiretty' >> /etc/sudoers
|
|
RUN mkdir -p /root/.m2/repository
|
|
RUN ./tools/toolchain/optimized_clang.sh
|
|
CMD /bin/bash
|