bump go to 1.21 in Dockerfiles

This commit is contained in:
Wang Gerui 2023-10-23 00:08:43 +08:00
parent 2b4c0ce851
commit 9e4b4060c0
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.12-alpine as builder
FROM golang:1.21-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git

View file

@ -1,4 +1,4 @@
FROM golang:1.11-alpine as builder
FROM golang:1.21-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers

View file

@ -1,4 +1,4 @@
FROM golang:1.12-alpine as builder
FROM golang:1.21-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git

View file

@ -1,4 +1,4 @@
FROM golang:1.14-alpine as builder
FROM golang:1.21-alpine as builder
RUN apk add make build-base linux-headers