Skip to content

Commit

Permalink
Merge pull request moby#2017 from AkihiroSuda/containerd-15
Browse files Browse the repository at this point in the history
Dockerfile: update containerd to v1.5.0-rc.2 / v1.4.4
  • Loading branch information
tonistiigi authored Apr 26, 2021
2 parents aa8c1ba + 19fd8ca commit 75f3315
Show file tree
Hide file tree
Showing 218 changed files with 4,764 additions and 1,325 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax = docker/dockerfile:1.2

ARG RUNC_VERSION=v1.0.0-rc93
ARG CONTAINERD_VERSION=v1.4.3
# containerd v1.3 for integration tests
ARG CONTAINERD_ALT_VERSION=v1.3.7
ARG CONTAINERD_VERSION=v1.5.0-rc.2
# containerd v1.4 for integration tests
ARG CONTAINERD_ALT_VERSION=v1.4.4
# available targets: buildkitd, buildkitd.oci_only, buildkitd.containerd_only
ARG BUILDKIT_TARGET=buildkitd
ARG REGISTRY_VERSION=2.7.1
Expand Down Expand Up @@ -148,7 +148,7 @@ RUN --mount=from=containerd-src,src=/usr/src/containerd,readwrite --mount=target
&& make bin/ctr \
&& mv bin /out

# containerd v1.3 for integration tests
# containerd v1.4 for integration tests
FROM containerd-base as containerd-alt
ARG CONTAINERD_ALT_VERSION
RUN --mount=from=containerd-src,src=/usr/src/containerd,readwrite --mount=target=/root/.cache,type=cache \
Expand Down Expand Up @@ -244,7 +244,7 @@ RUN apk add --no-cache shadow shadow-uidmap sudo vim iptables fuse \
&& ln -s /sbin/iptables-legacy /usr/bin/iptables \
&& xx-go --wrap
# musl is needed to directly use the registry binary that is built on alpine
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-1.3=/opt/containerd-alt/bin"
ENV BUILDKIT_INTEGRATION_CONTAINERD_EXTRA="containerd-1.4=/opt/containerd-alt/bin"
ENV BUILDKIT_INTEGRATION_SNAPSHOTTER=stargz
ENV CGO_ENABLED=0
COPY --from=stargz-snapshotter /out/* /usr/bin/
Expand Down
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ go 1.13

require (
github.com/BurntSushi/toml v0.3.1
github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3
github.com/Microsoft/hcsshim v0.8.15
github.com/Microsoft/go-winio v0.4.17
github.com/Microsoft/hcsshim v0.8.16
github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58 // indirect
github.com/containerd/console v1.0.1
github.com/containerd/containerd v1.5.0-beta.4
github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e
github.com/containerd/console v1.0.2
github.com/containerd/containerd v1.5.0-rc.2
github.com/containerd/continuity v0.1.0
github.com/containerd/fuse-overlayfs-snapshotter v1.0.2
github.com/containerd/go-cni v1.0.1
github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0
github.com/containerd/go-cni v1.0.2
github.com/containerd/go-runc v1.0.0
github.com/containerd/stargz-snapshotter v0.4.1
github.com/containerd/typeurl v1.0.1
github.com/containerd/typeurl v1.0.2
github.com/coreos/go-systemd/v22 v22.1.0
github.com/docker/cli v20.10.5+incompatible
github.com/docker/distribution v2.7.1+incompatible
Expand Down Expand Up @@ -59,10 +59,10 @@ require (
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
github.com/urfave/cli v1.22.2
go.etcd.io/bbolt v1.3.5
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4
golang.org/x/sys v0.0.0-20210324051608-47abb6519492
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
// genproto: the actual version is replaced in replace()
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a
Expand Down
129 changes: 104 additions & 25 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions util/network/cniprovider/cni.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ func New(opt Opt) (network.Provider, error) {
return nil, errors.Wrapf(err, "failed to read cni binary dir %q", opt.BinaryDir)
}

cniOptions := []cni.CNIOpt{cni.WithPluginDir([]string{opt.BinaryDir}), cni.WithInterfacePrefix("eth")}
cniOptions := []cni.Opt{cni.WithPluginDir([]string{opt.BinaryDir}), cni.WithInterfacePrefix("eth")}

// Windows doesn't use CNI for loopback.
if runtime.GOOS != "windows" {
cniOptions = append([]cni.CNIOpt{cni.WithMinNetworkCount(2)}, cniOptions...)
cniOptions = append([]cni.Opt{cni.WithMinNetworkCount(2)}, cniOptions...)
cniOptions = append(cniOptions, cni.WithLoNetwork)
}

Expand Down
17 changes: 0 additions & 17 deletions vendor/github.com/Microsoft/hcsshim/.gometalinter.json

This file was deleted.

22 changes: 6 additions & 16 deletions vendor/github.com/Microsoft/hcsshim/Protobuild.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/Microsoft/hcsshim/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 0 additions & 49 deletions vendor/github.com/Microsoft/hcsshim/appveyor.yml

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 1 addition & 25 deletions vendor/github.com/Microsoft/hcsshim/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions vendor/github.com/Microsoft/hcsshim/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 75f3315

Please sign in to comment.