From 1c63813c80ad17cfbc9011ea320d54e5f472464d Mon Sep 17 00:00:00 2001 From: Dusan Brajovic Date: Mon, 7 Oct 2024 23:13:13 +0200 Subject: [PATCH] fix: Dockerfile.nonroot --- Dockerfile.nonroot | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile.nonroot b/Dockerfile.nonroot index 90ddfae6..d7863b18 100644 --- a/Dockerfile.nonroot +++ b/Dockerfile.nonroot @@ -1,10 +1,8 @@ #install packages for build layer -FROM golang:1.19-alpine as builder +FROM golang:1.22-alpine as builder -ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a -ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a -RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep d6904bc0082d6510f1e032fc1fd55ffadc9378d963e199afe0f93dd2667c0160 -RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep bb8ffda690b15765c396266721e45516cb3021146fd4de46f7daeda5b0d82c86 +ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a +ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a RUN apk add --no-cache git gcc make perl jq libc-dev linux-headers