File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1
1
# install from an image
2
2
# download first an appropriate tar.gz image into the current directory
3
- # from: <https://github.com/alpinelinux/docker-alpine/tree/edge/armv7>
3
+ # from <https://github.com/alpinelinux/docker-alpine/tree/edge/armv7>
4
4
FROM scratch
5
5
6
6
# Substitute the image name that was downloaded
Original file line number Diff line number Diff line change
1
+ # install from an image
2
+ # download first an appropriate tar.gz image into the current directory
3
+ # from <https://github.com/alpinelinux/docker-alpine/tree/edge/x86>
4
+ FROM scratch
5
+
6
+ # Substitute the image name that was downloaded
7
+ ADD alpine-minirootfs-20250108-x86.tar.gz /
8
+
9
+ # Install tools
10
+ RUN apk add build-base make cmake
11
+ RUN apk add git
12
+ RUN apk add vim
13
+
14
+ RUN mkdir -p /home/dev
15
+ WORKDIR /home/dev
16
+
17
+ # Get mimalloc
18
+ RUN git clone https://github.com/microsoft/mimalloc -b dev2
19
+ RUN mkdir -p mimalloc/out/release
20
+ RUN mkdir -p mimalloc/out/debug
21
+
22
+ # Build mimalloc debug
23
+ WORKDIR /home/dev/mimalloc/out/debug
24
+ RUN cmake ../.. -DMI_DEBUG_FULL=ON
25
+ # RUN make -j
26
+ # RUN make test
27
+
28
+ CMD ["/bin/sh" ]
You can’t perform that action at this time.
0 commit comments