From 736f054aaf9b3ffc3f13a1c486d538a7c4a1890f Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 30 Aug 2024 17:13:54 +0200 Subject: [PATCH] chore: go 1.23 fixes: go.mod requires go >= 1.22 (running go 1.21.13; GOTOOLCHAIN=local) --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6b1d6b..6b6b31f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21-bookworm AS builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-bookworm AS builder LABEL org.opencontainers.image.source=https://github.com/ipfs/ipfs-check LABEL org.opencontainers.image.description="Check if you can find your content on IPFS" @@ -39,4 +39,4 @@ VOLUME $DATA_PATH WORKDIR $DATA_PATH USER ipfs -ENTRYPOINT ["tini", "--", "/usr/local/bin/ipfs-check", "start"] \ No newline at end of file +ENTRYPOINT ["tini", "--", "/usr/local/bin/ipfs-check", "start"] diff --git a/go.mod b/go.mod index f4f8944..3f5a294 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ipfs/ipfs-check -go 1.22 +go 1.23 require ( github.com/gavv/httpexpect/v2 v2.16.0