Skip to content

Commit e176fdc

Browse files
committed
Fix dockerfile
1 parent 52b583a commit e176fdc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ RUN apk add git
1515
WORKDIR /code
1616
COPY . /code/
1717
# See https://github.com/CosmWasm/wasmvm/releases
18-
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
19-
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
20-
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep e78b224c15964817a3b75a40e59882b4d0e06fd055b39514d61646689cef8c6e
21-
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep e660a38efb2930b34ee6f6b0bb12730adccb040b6ab701b8f82f34453a426ae7
22-
23-
# Copy the library you want to the final location that will be found by the linker flag `-lwasmvm_muslc`
24-
RUN cp /lib/libwasmvm_muslc.${arch}.a /lib/libwasmvm_muslc.a
18+
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.0.0-rc.1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
19+
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.0.0-rc.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
20+
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep e3418ecdbff156fb02d4dd6e44a6c3e1d5128f28848b397712ce0a5064626222
21+
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 9be6d5383865daf233a414c4cb739239c31fd6a68b42decce90ebab31ad291c6
2522

2623
# force it to use static lib (from above) not standard libgo_cosmwasm.so file
2724
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build

0 commit comments

Comments
 (0)