diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000000..2dfb5c324b --- /dev/null +++ b/docker/Dockerfile @@ -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}