mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 15:02:11 +03:00
* import python, try to adapt for rust * add missing wrapper functions * - try to write up how to build python bindings - strike some unused functions from deltachat.h * adjustments to make tox work * try to run circle-ci with python build * don't do docs * running cargo test as well * don't run cargo test anymore, that's done in other ci jobs * also build docs * don't run doxygen anymore * subst C with Rust * a try to get better wheels Closes #41
26 lines
969 B
Docker
26 lines
969 B
Docker
FROM quay.io/pypa/manylinux1_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
|
|
|
|
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 nightly
|
|
ADD deps/build_rust.sh /builder/build_rust.sh
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_rust.sh && cd .. && rm -r tmp1
|
|
|
|
# Install a recent Perl, needed to install OpenSSL
|
|
ADD deps/build_perl.sh /builder/build_perl.sh
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_perl.sh && cd .. && rm -r tmp1
|
|
|
|
# Install OpenSSL
|
|
ADD deps/build_openssl.sh /builder/build_openssl.sh
|
|
RUN mkdir tmp1 && cd tmp1 && bash /builder/build_openssl.sh && cd .. && rm -r tmp1
|
|
|