-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ebf877b
commit ecc61f3
Showing
2 changed files
with
28 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ ARG GO_BUILD_ARGS=-race | |
|
||
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \ | ||
export CGO_ENABLED=1 && \ | ||
cd node/hack/query/mainnet_test && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-extldflags "-Wl,--allow-multiple-definition" -X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /mainnet_test mainnet.go && \ | ||
cd node/hack/query/ccqlistener && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-extldflags "-Wl,--allow-multiple-definition" -X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /ccqlistener mainnet.go && \ | ||
go get github.com/CosmWasm/[email protected] && \ | ||
cp /go/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/libwasmvm.x86_64.so /usr/lib/ | ||
|
||
|
@@ -43,6 +43,6 @@ COPY --from=build /usr/lib/libwasmvm.x86_64.so /usr/lib/ | |
COPY --from=build /bin/bash /bin/dash /bin/sh /bin/ | ||
|
||
# finally copy the guardian executable | ||
COPY --from=build /mainnet_test . | ||
COPY --from=build /ccqlistener . | ||
|
||
CMD ["/mainnet_test", "--configDir /app/cfg"] | ||
CMD ["/ccqlistener", "--configDir /app/cfg"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters