mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a46f968229
- use `vendor.mod` instead of `go.mod` to avoid issues to do with use of CalVer, not SemVer - ensure most of the dependency versions do not change - only zookeeper client has to change (via docker/libkv#218) as previously used version is no longer maintained and has missing dependencies Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
296 B
Bash
Executable file
15 lines
296 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ROOTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
cat > "${ROOTDIR}/go.mod" << EOF
|
|
module github.com/docker/docker
|
|
|
|
go 1.17
|
|
EOF
|
|
|
|
cat > "${ROOTDIR}/hack/make/.resources-windows/go.mod" << EOF
|
|
module github.com/docker/docker/autogen/winresources/dockerd
|
|
|
|
go 1.17
|
|
EOF
|