From abd10a258deabf2dadf5ff3c2634933806371037 Mon Sep 17 00:00:00 2001 From: Artem Date: Sat, 7 Oct 2023 13:15:10 +0200 Subject: [PATCH] Upgrade to go1.21 --- build/api/Dockerfile | 2 +- build/indexer/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/api/Dockerfile b/build/api/Dockerfile index 996cadf97..3347e5336 100644 --- a/build/api/Dockerfile +++ b/build/api/Dockerfile @@ -1,7 +1,7 @@ # --------------------------------------------------------------------- # The first stage container, for building the application # --------------------------------------------------------------------- -FROM golang:1.20-alpine as builder +FROM golang:1.21-alpine as builder ENV CGO_ENABLED=0 ENV GO111MODULE=on diff --git a/build/indexer/Dockerfile b/build/indexer/Dockerfile index e0570d8a5..6209d9b66 100644 --- a/build/indexer/Dockerfile +++ b/build/indexer/Dockerfile @@ -1,7 +1,7 @@ # --------------------------------------------------------------------- # The first stage container, for building the application # --------------------------------------------------------------------- -FROM golang:1.20-alpine as builder +FROM golang:1.21-alpine as builder ENV CGO_ENABLED=0 ENV GO111MODULE=on diff --git a/go.mod b/go.mod index 9d8d82c11..a548ed1ae 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/baking-bad/bcdhub -go 1.20 +go 1.21 require ( github.com/btcsuite/btcutil v1.0.2