Skip to content

Commit

Permalink
fixed go-mod cve
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksey Gavrilov <alexey.gavrilov@flant.com>
  • Loading branch information
alexey-gavrilov-flant committed Dec 31, 2024
1 parent a38bb65 commit c30f364
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1,319 deletions.
4 changes: 2 additions & 2 deletions auth_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine3.19 as build
FROM golang:1.23-alpine3.21 as build

ARG VERSION
ENV VERSION "${VERSION}"
Expand All @@ -12,7 +12,7 @@ COPY . /build
WORKDIR /build
RUN make build

FROM alpine:3.19
FROM alpine:3.21
COPY --from=build /build/auth_server /docker_auth/
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/docker_auth/auth_server"]
Expand Down
25 changes: 12 additions & 13 deletions auth_server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cesanta/docker_auth/auth_server

go 1.17
go 1.23

require (
cloud.google.com/go/storage v1.29.0
Expand All @@ -9,7 +9,7 @@ require (
github.com/coreos/go-oidc/v3 v3.9.0
github.com/dchest/uniuri v0.0.0-20220929095258-3027df40b6ce
github.com/deckarep/golang-set v1.8.0
github.com/docker/distribution v2.8.1+incompatible
github.com/docker/distribution v2.8.2-beta.1+incompatible
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7
github.com/go-ldap/ldap v3.0.3+incompatible
github.com/go-redis/redis v6.15.9+incompatible
Expand All @@ -19,8 +19,8 @@ require (
github.com/schwarmco/go-cartesian-product v0.0.0-20180515110546-d5ee747a6dc9
github.com/syndtr/goleveldb v1.0.0
go.mongodb.org/mongo-driver v1.10.2
golang.org/x/crypto v0.17.0
golang.org/x/net v0.17.0
golang.org/x/crypto v0.31.0
golang.org/x/net v0.33.0
golang.org/x/oauth2 v0.13.0
google.golang.org/api v0.126.0
gopkg.in/fsnotify.v1 v1.4.7
Expand All @@ -35,13 +35,13 @@ require (
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
github.com/go-jose/go-jose/v3 v3.0.3 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
Expand All @@ -61,17 +61,16 @@ require (
github.com/xdg-go/stringprep v1.0.3 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/sync v0.2.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.7.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/grpc v1.55.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
lukechampine.com/uint128 v1.2.0 // indirect
Expand Down
Loading

0 comments on commit c30f364

Please sign in to comment.