mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-07 03:19:30 +00:00
11 lines
400 B
Text
11 lines
400 B
Text
FROM alpine:latest as mimalloc
|
|
|
|
RUN apk update && apk upgrade && apk --no-cache add gcc g++ libc-dev make cmake git
|
|
RUN git clone https://github.com/microsoft/mimalloc && \
|
|
cd mimalloc && \
|
|
git checkout 43ce4bd7fd34bcc730c1c7471c99995597415488 && \
|
|
mkdir -p out/secure && \
|
|
cd out/secure && \
|
|
cmake -DMI_SECURE=ON ../.. && \
|
|
make && \
|
|
cp ./libmimalloc-secure.so ../../../libmimalloc.so
|