From 7b4fa9e67f74e85f047b83c135ddc238cf6fa377 Mon Sep 17 00:00:00 2001 From: Dylan Arbour Date: Tue, 5 Mar 2024 08:38:48 -0500 Subject: [PATCH] Go 1.22, Alpine 3.19 (#133) --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97a0fa6..f79c540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine AS build +FROM golang:1.22-alpine AS build WORKDIR /go/src/github.com/arbourd/concourse-slack-alert-resource RUN apk --no-cache add --update git @@ -10,7 +10,7 @@ RUN go build -o /check github.com/arbourd/concourse-slack-alert-resource/check RUN go build -o /in github.com/arbourd/concourse-slack-alert-resource/in RUN go build -o /out github.com/arbourd/concourse-slack-alert-resource/out -FROM alpine:3.18 +FROM alpine:3.19 RUN apk add --no-cache ca-certificates COPY --from=build /check /opt/resource/check diff --git a/go.mod b/go.mod index db547cb..7fec1af 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/arbourd/concourse-slack-alert-resource -go 1.21 +go 1.22 require ( github.com/Masterminds/semver/v3 v3.2.1