Skip to content

Commit 5f23be9

Browse files
committed
update cosmwasm builder
1 parent 13bdc40 commit 5f23be9

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/build-and-push-mainnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ jobs:
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-

Dockerfile.cosmwasm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22

3-
FROM golang:1.20-alpine AS builder
3+
FROM golang:1.23.5-alpine AS builder
44
RUN apk update && apk add --no-cache make git
55
WORKDIR /go/src/github.com/forbole/callisto
66
COPY . ./
77

88
RUN 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`
1414
RUN cp /lib/libwasmvm_muslc.$(uname -m).a /lib/libwasmvm_muslc.a
1515
RUN go mod download

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)