docker: Bump docker dependencies, add containerd
These dependencies are maintained because the upstream repos bundle vendor directories into the repos, which cause namespacing issues during build. Git submodules don't strip the vendor directory whereas most vendoring tools would. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -28,9 +28,9 @@
|
|||||||
[submodule "vendor/github.com/purpleidea/distribution"]
|
[submodule "vendor/github.com/purpleidea/distribution"]
|
||||||
path = vendor/github.com/docker/distribution
|
path = vendor/github.com/docker/distribution
|
||||||
url = https://github.com/purpleidea/distribution
|
url = https://github.com/purpleidea/distribution
|
||||||
[submodule "vendor/github.com/purpleidea/go-connections"]
|
|
||||||
path = vendor/github.com/docker/go-connections
|
|
||||||
url = https://github.com/docker/go-connections
|
|
||||||
[submodule "vendor/github.com/hashicorp/go-multierror"]
|
[submodule "vendor/github.com/hashicorp/go-multierror"]
|
||||||
path = vendor/github.com/hashicorp/go-multierror
|
path = vendor/github.com/hashicorp/go-multierror
|
||||||
url = https://github.com/hashicorp/go-multierror
|
url = https://github.com/hashicorp/go-multierror
|
||||||
|
[submodule "vendor/github.com/containerd/containerd"]
|
||||||
|
path = vendor/github.com/containerd/containerd
|
||||||
|
url = https://github.com/purpleidea/containerd
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ func (obj *DockerContainerRes) CheckApply(apply bool) (bool, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
c, err := obj.client.ContainerCreate(ctx, containerConfig, hostConfig, nil, obj.Name())
|
c, err := obj.client.ContainerCreate(ctx, containerConfig, hostConfig, nil, nil, obj.Name())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, errwrap.Wrapf(err, "error creating container")
|
return false, errwrap.Wrapf(err, "error creating container")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ func setup() error {
|
|||||||
},
|
},
|
||||||
&container.HostConfig{},
|
&container.HostConfig{},
|
||||||
nil,
|
nil,
|
||||||
|
nil,
|
||||||
"mgmt-test",
|
"mgmt-test",
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
1
vendor/github.com/containerd/containerd
generated
vendored
Submodule
1
vendor/github.com/containerd/containerd
generated
vendored
Submodule
Submodule vendor/github.com/containerd/containerd added at 231d09c898
2
vendor/github.com/docker/distribution
generated
vendored
2
vendor/github.com/docker/distribution
generated
vendored
Submodule vendor/github.com/docker/distribution updated: 05e9759077...a778dab7d0
2
vendor/github.com/docker/docker
generated
vendored
2
vendor/github.com/docker/docker
generated
vendored
Submodule vendor/github.com/docker/docker updated: 445197336e...6c6f9d8cf0
1
vendor/github.com/docker/go-connections
generated
vendored
1
vendor/github.com/docker/go-connections
generated
vendored
Submodule vendor/github.com/docker/go-connections deleted from 97c2040d34
Reference in New Issue
Block a user