File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2323 name : Build and push
2424 uses : docker/build-push-action@v5
2525 with :
26+ context : .
27+ file : ./Dockerfile.cosmwasm
2628 push : true
2729 tags : nymtech/callisto:chains_nyx_mainnet-
Original file line number Diff line number Diff line change 11
22
3- FROM golang:1.20 -alpine AS builder
3+ FROM golang:1.23.5 -alpine AS builder
44RUN apk update && apk add --no-cache make git
55WORKDIR /go/src/github.com/forbole/callisto
66COPY . ./
77
88RUN apk update && apk add --no-cache ca-certificates build-base git
9- ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.4 .1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
10- ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.4 .1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
11- RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep a8259ba852f1b68f2a5f8eb666a9c7f1680196562022f71bb361be1472a83cfd
12- RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 324c1073cb988478d644861783ed5a7de21cfd090976ccc6b1de0559098fbbad
9+ ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.2 .1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
10+ ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.2 .1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
11+ RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep ba6cb5db6b14a265c8556326c045880908db9b1d2ffb5d4aa9f09ac09b24cecc
12+ RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep b3bd755efac0ff39c01b59b8110f961c48aa3eb93588071d7a628270cc1f2326
1313## Copy the library you want to the final location that will be found by the linker flag `-lwasmvm_muslc`
1414RUN cp /lib/libwasmvm_muslc.$(uname -m).a /lib/libwasmvm_muslc.a
1515RUN go mod download
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ services:
1818 callisto :
1919 build :
2020 context : .
21- dockerfile : Dockerfile
21+ dockerfile : Dockerfile.cosmwasm
2222 restart : always
2323 command : callisto parse --home /callisto/.callisto
2424 volumes :
You can’t perform that action at this time.
0 commit comments