upgrade to go v1.21

This commit is contained in:
Shiloh Heurich 2024-02-17 16:17:49 -05:00 committed by Jacob Hoffman-Andrews
parent 9966dd6622
commit 4cd0735676
6 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ cache:
- $GOPATH/pkg/mod
go:
- "1.18.x"
- "1.21.x"
services:
- docker

View File

@ -1,4 +1,4 @@
FROM golang:1.18-alpine as builder
FROM golang:1.21-alpine as builder
ENV CGO_ENABLED=0

View File

@ -1,4 +1,4 @@
FROM golang:1.18-nanoserver-sac2016 as builder
FROM golang:1.21-nanoserver-sac2016 as builder
ENV CGO_ENABLED=0

View File

@ -1,4 +1,4 @@
FROM golang:1.18-alpine as builder
FROM golang:1.21-alpine as builder
ENV CGO_ENABLED=0

View File

@ -1,4 +1,4 @@
FROM golang:1.18-nanoserver-sac2016 as builder
FROM golang:1.21-nanoserver-sac2016 as builder
ENV CGO_ENABLED=0

4
go.mod
View File

@ -1,5 +1,7 @@
module github.com/letsencrypt/pebble/v2
go 1.21
require (
github.com/letsencrypt/challtestsrv v1.3.2
github.com/miekg/dns v1.1.48
@ -16,5 +18,3 @@ require (
golang.org/x/tools v0.1.10 // indirect
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
)
go 1.17