Skip to content

Commit

Permalink
Update Alpine packages (same as in Dockerfile-debian) and install 3 c…
Browse files Browse the repository at this point in the history
…ommon boost packages already in the alpine-mimalloc stage
  • Loading branch information
afarber committed Jan 18, 2025
1 parent 6798e28 commit 62e269e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FROM alpine:3.21.2 AS alpine-mimalloc

RUN apk add --no-cache mimalloc
RUN apk update && \
apk upgrade && \
apk add --no-cache \
boost-iostreams \
boost-program_options \
boost-thread \
mimalloc

ENV LD_PRELOAD=/usr/lib/libmimalloc.so.2
ENV MIMALLOC_LARGE_OS_PAGES=1
Expand All @@ -14,9 +20,6 @@ RUN mkdir -p /src /opt && \
apk add --no-cache \
boost-dev \
boost-filesystem \
boost-iostreams \
boost-program_options \
boost-thread \
clang \
cmake \
expat-dev \
Expand Down Expand Up @@ -59,9 +62,6 @@ COPY --from=builder /opt /opt

RUN apk add --no-cache \
boost-date_time \
boost-iostreams \
boost-program_options \
boost-thread \
expat \
lua5.4 \
onetbb && \
Expand Down

0 comments on commit 62e269e

Please sign in to comment.