Skip to content

Commit 793f05f

Browse files
committed
build: add CGO_ENABLED=1 to builder image
1 parent a0c1a7d commit 793f05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/images/milkyway-builder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ RUN cp /lib/libwasmvm_muslc.${arch}.a /usr/local/lib/libwasmvm_muslc.a
2828
# force it to use static lib (from above) not standard libgo_cosmwasm.so file
2929
RUN --mount=type=cache,target=/root/.cache/go-build \
3030
--mount=type=cache,target=/go/pkg/mod \
31-
BUILD_TAGS=muslc GOOS=linux GOARCH=amd64 LEDGER_ENABLED=true LINK_STATICALLY=true make build
31+
BUILD_TAGS=muslc GOOS=linux GOARCH=amd64 LEDGER_ENABLED=true CGO_ENABLED=1 LINK_STATICALLY=true make build
3232
RUN echo "Ensuring binary is statically linked ..." \
3333
&& (file ./build/milkywayd | grep "statically linked")

0 commit comments

Comments
 (0)