From 356e37f8b32ddc895fd28f07bb7b5664606527d7 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 21 May 2024 10:55:02 -0400 Subject: update to go1.22.3 --- Dockerfile | 2 +- Dockerfile_distroless | 2 +- Dockerfile_distroless_vendored | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25f9dd3..01a075d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.19 as builder +FROM golang:1.22-alpine3.19 as builder RUN apk update && \ apk upgrade && \ apk add go git diff --git a/Dockerfile_distroless b/Dockerfile_distroless index 5b7401b..0e8b796 100644 --- a/Dockerfile_distroless +++ b/Dockerfile_distroless @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM golang:1.22-alpine3.19 as builder WORKDIR /milla COPY go.sum go.mod /milla/ RUN go mod download diff --git a/Dockerfile_distroless_vendored b/Dockerfile_distroless_vendored index 6c84307..01b01d5 100644 --- a/Dockerfile_distroless_vendored +++ b/Dockerfile_distroless_vendored @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM golang:1.22-alpine3.19 as builder WORKDIR /milla COPY go.sum go.mod /milla/ COPY vendor /milla/vendor diff --git a/go.mod b/go.mod index fea01cd..65be8d4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module milla -go 1.21.0 +go 1.22.3 require ( github.com/BurntSushi/toml v0.3.1 -- cgit v1.2.3