diff --git a/Dockerfile b/Dockerfile index 9a919fb..c69412d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.16-alpine as builder +FROM golang:1.21-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/guilhunize @@ -14,7 +14,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.13 +FROM alpine:3.18 LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.name="guilhunize" \ org.label-schema.description="" \ diff --git a/go.mod b/go.mod index 9e61c09..9ff63af 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module moul.io/guilhunize go 1.13 require ( - gopkg.in/urfave/cli.v2 v2.0.0-20190806201727-b62605953717 - moul.io/srand v1.4.0 + gopkg.in/urfave/cli.v2 v2.25.7 + moul.io/srand v1.6.1 ) diff --git a/lambda/go.mod b/lambda/go.mod index 5ff830b..39835fa 100644 --- a/lambda/go.mod +++ b/lambda/go.mod @@ -3,8 +3,8 @@ module moul.io/guilhunize/lambda go 1.13 require ( - github.com/aws/aws-lambda-go v1.13.2 - moul.io/guilhunize v1.0.0 + github.com/aws/aws-lambda-go v1.41.0 + moul.io/guilhunize v1.2.0 ) replace moul.io/guilhunize => ../