Skip to content

Commit

Permalink
fix: update the build image to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ironman0x7b2 committed Dec 19, 2024
1 parent 4ff67c5 commit 1367ce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM golang:1.22-alpine3.18 as build
FROM golang:1.22-alpine3.21 as build

COPY . /root/

RUN apk add build-base ca-certificates git linux-headers wget && \
cd /root/ && \
unset GOTOOLCHAIN && \
ARCH=$(uname -m) && \
WASM_VERSION=$(go list -m all | grep github.com/CosmWasm/wasmvm | awk '{print $NF}') && \
wget -q -O /usr/local/lib/libwasmvm_muslc.a https://github.com/CosmWasm/wasmvm/releases/download/${WASM_VERSION}/libwasmvm_muslc.${ARCH}.a && \
Expand Down

0 comments on commit 1367ce2

Please sign in to comment.