-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b18a7c
commit ed41ada
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM quay.io/pypa/manylinux_2_28_x86_64 | ||
|
||
RUN dnf update -y | ||
RUN dnf remove -y 'gcc-toolset-*' | ||
RUN dnf install -y zip flex bison gcc-toolset-10 gcc-toolset-10-gdb gcc-toolset-10-libatomic-devel krb5-devel cyrus-sasl-devel openssl-devel \ | ||
unzip tar epel-release jq wget libcurl-devel git-lfs \ | ||
python3.11-devel python3.11-pip perl-IPC-Cmd | ||
|
||
RUN dnf groupinstall -y 'Development Tools' | ||
RUN dnf install -y mono-complete | ||
|
||
RUN dnf clean all | ||
|
||
RUN wget -nv https://github.com/mozilla/sccache/releases/download/v0.8.2/sccache-v0.8.2-x86_64-unknown-linux-musl.tar.gz | ||
RUN tar xvf sccache*.tar.gz | ||
RUN mv sccache-*/sccache . | ||
RUN chmod 555 sccache | ||
|
||
RUN cp sccache /usr/local/bin/ | ||
|
||
ENV CC=/opt/rh/gcc-toolset-10/root/bin/gcc | ||
ENV CMAKE_C_COMPILER=/opt/rh/gcc-toolset-10/root/bin/gcc | ||
ENV CXX=/opt/rh/gcc-toolset-10/root/bin/g++ | ||
ENV CMAKE_CXX_COMPILER=/opt/rh/gcc-toolset-10/root/bin/g++ | ||
ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-10/root/usr/lib64:/opt/rh/gcc-toolset-10/root/usr/lib:/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst | ||
ENV PATH=/opt/rh/devtoolset-10/root/usr/bin:/opt/python/cp311-cp311/bin:${PATH} |