Skip to content

Commit

Permalink
fix building jemalloc in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lmaotrigine committed Nov 14, 2023
1 parent 3c3677d commit 30c3ee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ ARG RUST_VERSION=alpine
FROM rust:${RUST_VERSION} AS build

# Install a few essential packages
# - build-base: to build jemalloc
# - musl-dev: C standard library
# - git: required by build.rs
RUN apk add --no-cache musl-dev=~1 git=~2
RUN apk add --no-cache build-base=~0 musl-dev=~1 git=~2

# shell options
# -e: exit on error
Expand Down

0 comments on commit 30c3ee8

Please sign in to comment.