node: fix dockerfile
This commit is contained in:
parent
9352784c89
commit
3177cf7eb5
|
@ -24,6 +24,7 @@ ARG GO_BUILD_ARGS=-race
|
||||||
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
|
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \
|
||||||
cd node && \
|
cd node && \
|
||||||
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 /guardiand github.com/certusone/wormhole/node && \
|
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 /guardiand github.com/certusone/wormhole/node && \
|
||||||
|
go get github.com/CosmWasm/wasmvm@v0.16.2 && \
|
||||||
cp /go/pkg/mod/github.com/!cosm!wasm/wasmvm@v0.16.2/api/libwasmvm.so /usr/lib/
|
cp /go/pkg/mod/github.com/!cosm!wasm/wasmvm@v0.16.2/api/libwasmvm.so /usr/lib/
|
||||||
|
|
||||||
# Only export the final binary (+ shared objects). This reduces the image size
|
# Only export the final binary (+ shared objects). This reduces the image size
|
||||||
|
|
Loading…
Reference in New Issue