Skip to content

Commit

Permalink
Hard-coded v1.5.4 as it seems to be the correct WASMVM version (sti…
Browse files Browse the repository at this point in the history
…ll waiting for further instructions)
  • Loading branch information
maoueh committed Jan 13, 2025
1 parent 8a46488 commit e5093dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.sf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ COPY ./go.mod /work/go.mod
COPY ./go.sum /work/go.sum

# FIXME: Handle multi-arch build, for now we have hard-coded the x86_64 part, but we should be able to build for arm64 as well
# FIXME: The export WASM_VERSION="$(go list -m all | grep github.com/CosmWasm/wasmvm | awk '{print $2}')"; \ is now wrong because
# Sei forked the repository from version 1.5.4 but the `sei-chain` go.mod list `github.com/CosmWasm/wasmvm@v1.5.5`.
RUN apk add --no-cache wget && cd /work; \
export ARCH=$(uname -m); \
export WASM_VERSION="$(go list -m all | grep github.com/CosmWasm/wasmvm | awk '{print $2}')"; \
export WASM_VERSION="v1.5.4"; \
wget -O "/lib/libwasmvm.x86_64.${WASM_VERSION}.so" https://github.com/CosmWasm/wasmvm/releases/download/${WASM_VERSION}/libwasmvm.x86_64.so && \
printf "${WASM_VERSION}" > /lib/libwasmvm.x86_64.so.version

Expand Down

0 comments on commit e5093dc

Please sign in to comment.