From 98040e98273c917ff12a8986a24be87aea560458 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Thu, 23 Jan 2025 17:32:59 +0800 Subject: [PATCH] fix image --- Dockerfile | 4 ++-- Makefile | 2 +- local.Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0155578da..5f1df5f08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21-alpine3.17 AS build-env +FROM --platform=$BUILDPLATFORM golang:1.23.5-alpine3.21 AS build-env RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev @@ -57,7 +57,7 @@ RUN ln sh pwd && \ rm ln rm # Install chain binaries -COPY --from=build-env /bin/rly /bin +COPY --from=build-env /go/bin/rly /bin # Install trusted CA certificates COPY --from=busybox-min /etc/ssl/cert.pem /etc/ssl/cert.pem diff --git a/Makefile b/Makefile index 96a94996b..bb22fa087 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ build-gaia: .PHONY: two-chains test test-integration interchaintest install build lint coverage clean PACKAGE_NAME := github.com/cosmos/relayer -GOLANG_CROSS_VERSION ?= v1.21.5 +GOLANG_CROSS_VERSION ?= v1.23.3 SYSROOT_DIR ?= sysroots SYSROOT_ARCHIVE ?= sysroots.tar.bz2 diff --git a/local.Dockerfile b/local.Dockerfile index 6cd45dd2c..cccb280a3 100644 --- a/local.Dockerfile +++ b/local.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1-alpine3.17 AS build-env +FROM golang:1.23.5-alpine3.21 AS build-env RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev @@ -41,7 +41,7 @@ RUN ln sh pwd && \ rm ln rm # Install chain binaries -COPY --from=build-env /bin/rly /bin +COPY --from=build-env /go/bin/rly /bin # Install trusted CA certificates COPY --from=busybox-min /etc/ssl/cert.pem /etc/ssl/cert.pem