We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c7281 commit f58570dCopy full SHA for f58570d
alpine.Dockerfile
@@ -11,6 +11,7 @@ RUN set -eux &&\
11
apk add --no-cache \
12
ca-certificates \
13
linux-headers \
14
+ musl-dev \
15
build-base \
16
cmake \
17
bash \
@@ -30,7 +31,7 @@ ARG COSMOS_BUILD_OPTIONS="nostrip"
30
31
ARG GIT_TAG="v2.4.1"
32
ARG GIT_REPO="terra-money/core"
33
#ARG LDFLAGS="-extldflags '-L/go/src/mimalloc/build -lmimalloc -Wl,-z,muldefs -static'"
-ARG LDFLAGS='-extldflags "-Wl,-z,muldefs -static"'
34
+ARG LDFLAGS='-linkmode external -extldflags "-Wl,-z,muldefs -static"'
35
ARG MIMALLOC_VERSION
36
37
ENV MIMALLOC_VERSION=${MIMALLOC_VERSION}
0 commit comments