| 1 |
FROM quay.io/pypa/manylinux2014_x86_64 |
| 2 |
|
| 3 |
# Install tools |
| 4 |
RUN yum install -y openssl-devel |
| 5 |
RUN yum install -y gcc gcc-c++ kernel-devel make |
| 6 |
RUN yum install -y git cmake |
| 7 |
RUN yum install -y vim |
| 8 |
|
| 9 |
RUN mkdir -p /home/dev |
| 10 |
WORKDIR /home/dev |
| 11 |
|
| 12 |
# Get mimalloc |
| 13 |
RUN git clone https://github.com/microsoft/mimalloc -b dev2 |
| 14 |
RUN mkdir -p mimalloc/out/release |
| 15 |
RUN mkdir -p mimalloc/out/debug |
| 16 |
|
| 17 |
# Build mimalloc debug |
| 18 |
WORKDIR /home/dev/mimalloc/out/debug |
| 19 |
RUN cmake ../.. -DMI_DEBUG_FULL=ON |
| 20 |
RUN make -j |
| 21 |
RUN make test |
| 22 |
|
| 23 |
CMD ["/bin/sh"] |