File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,16 @@ WORKDIR /app
1212COPY go.mod go.sum ./
1313RUN go mod download
1414
15+ # Cosmwasm - Download correct libwasmvm version
16+ RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | cut -d ' ' -f 2) && \
17+ wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/libwasmvm_muslc.$(uname -m).a \
18+ -O /lib/libwasmvm_muslc.a && \
19+ # verify checksum
20+ wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/checksums.txt -O /tmp/checksums.txt && \
21+ sha256sum /lib/libwasmvm_muslc.a | grep $(cat /tmp/checksums.txt | grep $(uname -m) | cut -d ' ' -f 1)
22+
1523COPY . .
16- RUN make build
24+ RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build
1725
1826# Runner
1927FROM alpine
You can’t perform that action at this time.
0 commit comments