Skip to content

Commit

Permalink
fix(docker): try removing CGO_LDFLAGS for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jun 25, 2024
1 parent 94e8550 commit 0b56ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.build-static
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ENV CXX=/aarch64-tools/bin/aarch64-linux-musl-g++
# Build sedad binary for arm64
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/go/pkg/mod \
GOWORK=off CGO_LDFLAGS="-L/lib" go build \
GOWORK=off go build \
-mod=readonly \
-tags "netgo,ledger,muslc" \
-ldflags \
Expand Down

0 comments on commit 0b56ef5

Please sign in to comment.