Skip to content

Commit 0d6596e

Browse files
authored
Merge pull request #88 from crazy-max/fix-gomod
gomod: update min go version
2 parents 0110a99 + 1174414 commit 0d6596e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/docker/buildkit-syft-scanner
22

3-
go 1.21.3
3+
go 1.21.0
44

55
require (
66
github.com/anchore/go-logger v0.0.0-20230725134548-c21dafa1ec5a

hack/dockerfiles/vendor.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616

1717
# upstream at https://github.com/moby/buildkit/blob/master/hack/dockerfiles/vendor.Dockerfile
1818

19-
ARG GO_VERSION=1.20
19+
ARG GO_VERSION="1.21"
20+
ARG ALPINE_VERSION="3.17"
2021

21-
FROM golang:${GO_VERSION}-alpine AS base
22+
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
2223
RUN apk add --no-cache git rsync
2324
WORKDIR /src
2425

0 commit comments

Comments
 (0)