-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Go Modules instead of Glock (fixes #338)
Previously, this project was using glock to manage external go dependencies. As of go 1.11, go comes with builtin module support. Go Modules fully supersede glock functionality. As of go 1.16, either an environment variable or go modules are required for this project to build. This commit migrates the repository away from glock, and instead uses go modules. This gets rid of an unneeded dependency, and also allows the project to natively compile under go 1.16 (which requires `go.mod` by default). For go >= 1.13, compilation will "just work". To build under go 1.11 and go 1.12 one needs to set an environment variable 'GO111MODULE=on'. Since go <= 1.14 can be considered end of life, this change will likely not be impact any existing build scripts. This commit also updates the Travis Tests with more modern go versions, so that they can pass.
- Loading branch information
Showing
6 changed files
with
254 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: go | ||
go: | ||
- "1.9" | ||
- "1.10" | ||
- "1.11" | ||
- "1.14" | ||
- "1.15" | ||
- "1.16" | ||
install: | ||
- make get-deps | ||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module github.com/jwilder/docker-gen | ||
|
||
go 1.11 | ||
|
||
require ( | ||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect | ||
github.com/BurntSushi/toml v0.3.1 | ||
github.com/Microsoft/go-winio v0.4.16 // indirect | ||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect | ||
github.com/containerd/continuity v0.0.0-20210315143101-93e15499afd5 // indirect | ||
github.com/docker/docker v1.4.2-0.20171014114940-f2afa2623594 // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-units v0.3.2 // indirect | ||
github.com/fsouza/go-dockerclient v0.0.0-20171009031830-d2a6d0596004 | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/google/go-cmp v0.5.5 // indirect | ||
github.com/gorilla/context v1.1.1 // indirect | ||
github.com/gorilla/mux v0.0.0-20160718151158-d391bea3118c // indirect | ||
github.com/gotestyourself/gotestyourself v2.2.0+incompatible // indirect | ||
github.com/opencontainers/image-spec v1.0.1 // indirect | ||
github.com/opencontainers/runc v0.1.1 // indirect | ||
github.com/opencontainers/selinux v1.8.0 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
github.com/stretchr/testify v1.7.0 // indirect | ||
golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54 // indirect | ||
gotest.tools v2.2.0+incompatible // indirect | ||
) |
Oops, something went wrong.