Skip to content

Commit

Permalink
build: add openssl-devel for cargo-c (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste authored Dec 18, 2024
1 parent 95b3749 commit 8759158
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ RUN yum-config-manager --enable powertools
RUN dnf module -y enable javapackages-tools
#RUN dnf module -y enable subversion-devel #useful for utf8proc-devel
RUN yum -y install createrepo wget bzip2 patch make cmake cmake3 ctags automake texinfo file gcc gcc-c++ gcc-gfortran python3 libtool bison flex flex-devel perl-XML-Parser swig gettext libjpeg-turbo freetype fontconfig jasper-libs zlib-devel bzip2-devel libjpeg-turbo-devel freetype-devel fontconfig-devel rpm-build xz xz-devel expat-devel bc which git nspr-devel nss-devel popt-devel elfutils-devel elfutils elfutils-libelf-devel elfutils-libelf elfutils-libs openblas-devel valgrind ncurses-devel gperf libX11-devel libXft-devel libXrender-devel libXext-devel pixman-devel rpcgen libaec-devel tcsh libXmu-devel libXt-devel libXaw-devel byacc imake gsl-devel pcre-devel libev-devel c-ares-devel glib2-devel json-c-devel libxml2-devel libxslt-devel oniguruma-devel libpng-devel graphviz-devel tcl-devel tk-devel libtiff-devel openjpeg2-devel jasper-devel cairo-devel fribidi-devel harfbuzz-devel pango-devel gdbm-devel librsvg2-devel libffi-devel autoconf-archive antlr-C++ antlr-tool uwsgi-plugin-common uwsgi-devel libcap-devel libnghttp2-devel pcre2-devel libzstd-devel lz4-devel mpich-devel rust cargo perl-IPC-Cmd perl-Pod-Html && rpm -qa |sort | md5sum |awk '{print $1;}' >/etc/buildimage_hash
#Install scl gcc-toolset-11)
#Install scl gcc-toolset-11
RUN yum -y install gcc-toolset-11 gcc-toolset-11-annobin-plugin-gcc
RUN cd /opt/rh/gcc-toolset-11/root/usr/lib/gcc/x86_64-redhat-linux/11/plugin && ln -s annobin.so gcc-annobin.so
#openssl-devel required for cargo-c
RUN yum -y install openssl-devel
RUN cargo install cargo-c@0.10.4+cargo-0.82.0 --locked
ADD make_openblas_pc.sh /root
RUN chmod +x /root/make_openblas_pc.sh && /root/make_openblas_pc.sh
Expand Down

0 comments on commit 8759158

Please sign in to comment.