mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
add alpine docker files
This commit is contained in:
parent
d5ac4f7b95
commit
836ee0a94c
4 changed files with 54 additions and 0 deletions
23
docker/alpine/Dockerfile
Normal file
23
docker/alpine/Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# alpine image
|
||||
FROM alpine
|
||||
|
||||
# Install tools
|
||||
RUN apk add build-base make cmake
|
||||
RUN apk add git
|
||||
RUN apk add vim
|
||||
|
||||
RUN mkdir -p /home/dev
|
||||
WORKDIR /home/dev
|
||||
|
||||
# Get mimalloc
|
||||
RUN git clone https://github.com/microsoft/mimalloc -b dev-slice
|
||||
RUN mkdir -p mimalloc/out/release
|
||||
RUN mkdir -p mimalloc/out/debug
|
||||
|
||||
# Build mimalloc debug
|
||||
WORKDIR /home/dev/mimalloc/out/debug
|
||||
RUN cmake ../.. -DMI_DEBUG_FULL=ON
|
||||
RUN make -j
|
||||
RUN make test
|
||||
|
||||
CMD ["/bin/sh"]
|
Loading…
Add table
Add a link
Reference in a new issue