diff --git a/Dockerfile b/Dockerfile index d17589a92..6fc5b9736 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine AS go-builder +FROM golang:1.22-alpine AS go-builder SHELL ["/bin/sh", "-ecuxo", "pipefail"] diff --git a/chains.yaml b/chains.yaml index 5b1bed1c0..8d4050d0c 100644 --- a/chains.yaml +++ b/chains.yaml @@ -9,3 +9,24 @@ build-env: - LEDGER_ENABLED=false - BUILD_TAGS=muslc +- name: evmos + github-organization: tharsis + github-repo: evmos + dockerfile: cosmos + build-target: make install + binaries: + - /go/bin/evmosd +- name: nomic + github-organization: nomic-io + github-repo: nomic + dockerfile: cargo + build-target: | + TOOLCHAIN=$(cat rust-toolchain.toml | grep channel | awk '{print $3}' | tr -d '"') + rustup component add rust-src --toolchain ${TOOLCHAIN}-$(uname -m)-unknown-linux-gnu + cargo install --locked --path . -Zbuild-std + binaries: + - /build/nomic/target/${ARCH}-unknown-linux-gnu/release/nomic + # TODO remove platforms here so that both linux/amd64 and linux/arm64 are built + # once these changes are merged: https://github.com/nomic-io/orga/pull/154 + platforms: + - linux/amd64