diff --git a/.github/workflows/axelar.yml b/.github/workflows/axelar.yml index cf1fe253..04c84b2e 100644 --- a/.github/workflows/axelar.yml +++ b/.github/workflows/axelar.yml @@ -49,7 +49,7 @@ jobs: - name: Build and push Axelar Docker image run: | - ./heighliner build -c axelar --go-version 1.21 --alpine-version 3.18 --git-ref ${{ env.VERSION }} + ./heighliner build -c axelar --git-ref ${{ env.VERSION }} - name: Tag and push Docker image run: | diff --git a/chains/axelar.yaml b/chains/axelar.yaml index 68067048..0b55ff0c 100644 --- a/chains/axelar.yaml +++ b/chains/axelar.yaml @@ -2,9 +2,19 @@ - name: axelar github-organization: axelarnetwork github-repo: axelar-core - dockerfile: cosmos + dockerfile: none + pre-build: | + set -eux + wget https://axelar-releases.s3.us-east-2.amazonaws.com/axelard/${VERSION}/axelard-linux-amd64-${VERSION}.zip + apt update && apt -y install unzip + unzip axelard-linux-amd64-${VERSION}.zip + mv axelard-linux-amd64-${VERSION} /go/bin/axelard + chmod +x bin/axelard + wget https://github.com/CosmWasm/wasmvm/releases/download/v1.3.1/libwasmvm.x86_64.so binaries: - bin/axelard + libraries: + - libwasmvm.x86_64.so build-target: | set -eux apk add --update nodejs npm jq py3-pip diff --git a/dockerfile/none/Dockerfile b/dockerfile/none/Dockerfile index 986eaf4d..02a9879c 100644 --- a/dockerfile/none/Dockerfile +++ b/dockerfile/none/Dockerfile @@ -32,7 +32,7 @@ ARG LIBRARIES ENV LIBRARIES_ENV ${LIBRARIES} RUN bash -c 'LIBRARIES_ARR=($LIBRARIES_ENV); for LIBRARY in "${LIBRARIES_ARR[@]}"; do cp $LIBRARY /root/lib/; done' -FROM debian:bullseye +FROM debian:bookworm LABEL org.opencontainers.image.source="https://github.com/p2p-org/cosmos-heighliner"