mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
22 lines
839 B
Docker
22 lines
839 B
Docker
FROM quay.io/pypa/manylinux2014_x86_64
|
|
|
|
# Configure ld.so/ldconfig and pkg-config
|
|
RUN echo /usr/local/lib64 > /etc/ld.so.conf.d/local.conf && \
|
|
echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
|
|
ENV PKG_CONFIG_PATH /usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig
|
|
|
|
# Install a recent Perl, needed to install the openssl crate
|
|
ADD deps/build_perl.sh /builder/build_perl.sh
|
|
RUN rm /usr/bin/perl
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_perl.sh && cd .. && rm -r tmp1
|
|
|
|
ENV PIP_DISABLE_PIP_VERSION_CHECK 1
|
|
|
|
# Install python tools (auditwheels,tox, ...)
|
|
ADD deps/build_python.sh /builder/build_python.sh
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_python.sh && cd .. && rm -r tmp1
|
|
|
|
# Install Rust
|
|
ADD deps/build_rust.sh /builder/build_rust.sh
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_rust.sh && cd .. && rm -r tmp1
|