From 06ccb60684f0f6173fd1e68eb995bc6dae5cad28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 22:49:19 +0000 Subject: [PATCH] build(deps): bump golang from 1.21.6-alpine3.18 to 1.22.2-alpine3.18 Bumps golang from 1.21.6-alpine3.18 to 1.22.2-alpine3.18. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile | 4 ++-- Dockerfile.examples | 4 ++-- Dockerfile.goreleaser | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02fbd39b..4440757a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.6-alpine3.18@sha256:3354c3a94c3cf67cb37eb93a8e9474220b61a196b13c26f1c01715c301b22a69 AS build +FROM golang:1.22.2-alpine3.18@sha256:d995eb689a0c123590a3d34c65f57f3a118bda3fa26f92da5e089ae7d8fd81a0 AS build WORKDIR /usr/src/app RUN apk --no-cache add git make COPY ./go.mod ./go.sum ./ @@ -6,7 +6,7 @@ RUN go mod download COPY . . RUN make install -FROM golang:1.21.6-alpine3.18@sha256:3354c3a94c3cf67cb37eb93a8e9474220b61a196b13c26f1c01715c301b22a69 +FROM golang:1.22.2-alpine3.18@sha256:d995eb689a0c123590a3d34c65f57f3a118bda3fa26f92da5e089ae7d8fd81a0 # When running as non-root user, GOCACHE must be set to a directory # that is writable by that user. It will otherwise default to /.cache/go-build, # which is owned by root. diff --git a/Dockerfile.examples b/Dockerfile.examples index e293a62f..9d33d95f 100644 --- a/Dockerfile.examples +++ b/Dockerfile.examples @@ -1,6 +1,6 @@ # This Dockerfile is meant for generating example SBOMs in a way # that is reproducible for everyone. -FROM golang:1.21.6-alpine3.18@sha256:3354c3a94c3cf67cb37eb93a8e9474220b61a196b13c26f1c01715c301b22a69 AS build +FROM golang:1.22.2-alpine3.18@sha256:d995eb689a0c123590a3d34c65f57f3a118bda3fa26f92da5e089ae7d8fd81a0 AS build WORKDIR /usr/src/app RUN apk --no-cache add git make COPY ./go.mod ./go.sum ./ @@ -8,7 +8,7 @@ RUN go mod download COPY . . RUN make install -FROM golang:1.21.6-alpine3.18@sha256:3354c3a94c3cf67cb37eb93a8e9474220b61a196b13c26f1c01715c301b22a69 +FROM golang:1.22.2-alpine3.18@sha256:d995eb689a0c123590a3d34c65f57f3a118bda3fa26f92da5e089ae7d8fd81a0 VOLUME /examples # Install prerequisites diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index 88124d99..c11895c9 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -1,6 +1,6 @@ # This Dockerfile is meant for GoReleaser exclusively, see .goreleaser.yml. # For manual builds, please use the regular Dockerfile or simply run "make docker". -FROM golang:1.21.6-alpine3.18@sha256:3354c3a94c3cf67cb37eb93a8e9474220b61a196b13c26f1c01715c301b22a69 +FROM golang:1.22.2-alpine3.18@sha256:d995eb689a0c123590a3d34c65f57f3a118bda3fa26f92da5e089ae7d8fd81a0 # When running as non-root user, GOCACHE must be set to a directory # that is writable by that user. It will otherwise default to /.cache/go-build, # which is owned by root.