Skip to content

Commit 0184a86

Browse files
committed
add alpine x86 docker file
1 parent c84d996 commit 0184a86

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

contrib/docker/alpine-arm32v7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# install from an image
22
# 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>
44
FROM scratch
55

66
# Substitute the image name that was downloaded

contrib/docker/alpine-x86/Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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"]

0 commit comments

Comments
 (0)