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 a0c1a7d commit 793f05fCopy full SHA for 793f05f
contrib/images/milkyway-builder/Dockerfile
@@ -28,6 +28,6 @@ RUN cp /lib/libwasmvm_muslc.${arch}.a /usr/local/lib/libwasmvm_muslc.a
28
# force it to use static lib (from above) not standard libgo_cosmwasm.so file
29
RUN --mount=type=cache,target=/root/.cache/go-build \
30
--mount=type=cache,target=/go/pkg/mod \
31
- BUILD_TAGS=muslc GOOS=linux GOARCH=amd64 LEDGER_ENABLED=true LINK_STATICALLY=true make build
+ BUILD_TAGS=muslc GOOS=linux GOARCH=amd64 LEDGER_ENABLED=true CGO_ENABLED=1 LINK_STATICALLY=true make build
32
RUN echo "Ensuring binary is statically linked ..." \
33
&& (file ./build/milkywayd | grep "statically linked")
0 commit comments