Skip to content

Commit 20cef15

Browse files
committed
Update go1.13 -> go1.20 + update dependencies + mod tidy + router adaptation to the new traefik version
1 parent c4317b7 commit 20cef15

File tree

4 files changed

+127
-545
lines changed

4 files changed

+127
-545
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.13-alpine as builder
1+
FROM golang:1.20-alpine as builder
22

33
# Setup
44
RUN mkdir -p /go/src/github.com/thomseddon/traefik-forward-auth

go.mod

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,46 @@
11
module github.com/thomseddon/traefik-forward-auth
22

3-
go 1.13
3+
go 1.20
44

55
require (
6-
github.com/containous/traefik/v2 v2.1.2
7-
github.com/coreos/go-oidc v2.1.0+incompatible
8-
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
9-
github.com/sirupsen/logrus v1.4.2
10-
github.com/stretchr/testify v1.4.0
6+
github.com/coreos/go-oidc v2.2.1+incompatible
7+
github.com/sirupsen/logrus v1.9.3
8+
github.com/stretchr/testify v1.8.4
119
github.com/thomseddon/go-flags v1.4.1-0.20190507184247-a3629c504486
12-
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
13-
gopkg.in/square/go-jose.v2 v2.3.1
10+
github.com/traefik/traefik/v2 v2.10.4
11+
golang.org/x/oauth2 v0.10.0
12+
gopkg.in/square/go-jose.v2 v2.6.0
1413
)
1514

16-
// From traefik
15+
require (
16+
github.com/containous/alice v0.0.0-20181107144136-d83ebdd94cbd // indirect
17+
github.com/davecgh/go-spew v1.1.1 // indirect
18+
github.com/golang/protobuf v1.5.3 // indirect
19+
github.com/gorilla/mux v1.8.0 // indirect
20+
github.com/gravitational/trace v1.1.16-0.20220114165159-14a9a7dd6aaf // indirect
21+
github.com/jonboulle/clockwork v0.2.2 // indirect
22+
github.com/miekg/dns v1.1.55 // indirect
23+
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
24+
github.com/pmezard/go-difflib v1.0.0 // indirect
25+
github.com/pquerna/cachecontrol v0.2.0 // indirect
26+
github.com/traefik/paerser v0.2.0 // indirect
27+
github.com/vulcand/predicate v1.2.0 // indirect
28+
golang.org/x/crypto v0.11.0 // indirect
29+
golang.org/x/mod v0.11.0 // indirect
30+
golang.org/x/net v0.12.0 // indirect
31+
golang.org/x/sys v0.10.0 // indirect
32+
golang.org/x/term v0.10.0 // indirect
33+
golang.org/x/text v0.11.0 // indirect
34+
golang.org/x/tools v0.10.0 // indirect
35+
google.golang.org/appengine v1.6.7 // indirect
36+
google.golang.org/protobuf v1.31.0 // indirect
37+
gopkg.in/yaml.v3 v3.0.1 // indirect
38+
)
39+
40+
// Containous forks
1741
replace (
18-
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.1+incompatible
19-
github.com/abbot/go-http-auth => github.com/containous/go-http-auth v0.4.1-0.20180112153951-65b0cdae8d7f
20-
github.com/docker/docker => github.com/docker/engine v1.4.2-0.20191113042239-ea84732a7725
42+
github.com/abbot/go-http-auth => github.com/containous/go-http-auth v0.4.1-0.20200324110947-a37a7636d23e
2143
github.com/go-check/check => github.com/containous/check v0.0.0-20170915194414-ca0bf163426a
22-
github.com/gorilla/mux => github.com/containous/mux v0.0.0-20181024131434-c33f32e26898
44+
github.com/gorilla/mux => github.com/containous/mux v0.0.0-20220627093034-b2dd784e613f
2345
github.com/mailgun/minheap => github.com/containous/minheap v0.0.0-20190809180810-6e71eb837595
24-
github.com/mailgun/multibuf => github.com/containous/multibuf v0.0.0-20190809014333-8b6c9a7e6bba
25-
github.com/rancher/go-rancher-metadata => github.com/containous/go-rancher-metadata v0.0.0-20190402144056-c6a65f8b7a28
2646
)

0 commit comments

Comments
 (0)