From d1379b30ecbcb485b7c5f8e2b34d6f40466ab816 Mon Sep 17 00:00:00 2001 From: jhernandezb Date: Thu, 25 May 2023 09:11:57 -0600 Subject: [PATCH] fix wasm lib in docker --- .drone.yml | 6 +++--- Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1f4c156eb..0ec4529d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,8 +46,8 @@ steps: path: /go commands: - apk add --no-cache ca-certificates build-base git - - wget https://github.com/CosmWasm/wasmvm/releases/download/v1.1.1/libwasmvm_muslc.x86_64.a -O /lib/libwasmvm_muslc.a - - echo "6e4de7ba9bad4ae9679c7f9ecf7e283dd0160e71567c6a7be6ae47c81ebe7f32 /lib/libwasmvm_muslc.a" | sha256sum -c + - wget https://github.com/CosmWasm/wasmvm/releases/download/v1.1.2/libwasmvm_muslc.x86_64.a -O /lib/libwasmvm_muslc.a + - echo "e0a0955815a23c139d42781f1cc70beffa916aa74fe649e5c69ee7e95ff13b6b /lib/libwasmvm_muslc.a" | sha256sum -c - LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build - echo "Ensuring binary is statically linked ..." && (file $PWD/bin/starsd | grep "statically linked") environment: @@ -399,6 +399,6 @@ depends_on: - ibc-integration-test --- kind: signature -hmac: f85967686c28ea333605a5db3a405c37aa477a3b575712835604cb3e7901c68f +hmac: c1aa01580742e57c98b29e18be4caa8f3fe853535e907bd166ee31cf6e79b712 ... diff --git a/Dockerfile b/Dockerfile index 2f99ee64c..741143487 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # docker build . -t publicawesome/stargaze:latest # docker run --rm -it publicawesome/stargaze:latest /bin/sh -FROM golang:1.19.3-alpine3.15 AS go-builder +FROM golang:1.20.2-alpine3.17 AS go-builder RUN set -eux; apk add --no-cache ca-certificates build-base git; @@ -12,8 +12,8 @@ WORKDIR /code COPY . /code/ # See https://github.com/CosmWasm/wasmvm/releases -ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.1.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a -RUN echo "6e4de7ba9bad4ae9679c7f9ecf7e283dd0160e71567c6a7be6ae47c81ebe7f32 /lib/libwasmvm_muslc.a" | sha256sum -c +ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.1.2/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a +RUN echo "e0a0955815a23c139d42781f1cc70beffa916aa74fe649e5c69ee7e95ff13b6b /lib/libwasmvm_muslc.a" | sha256sum -c # force it to use static lib (from above) not standard libgo_cosmwasm.so file RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build