Skip to content

Dockerfile: update containerd, registry, RootlessKit, CNI#2701

Merged
tonistiigi merged 1 commit intomoby:masterfrom
AkihiroSuda:update-dockerfile
Mar 4, 2022
Merged

Dockerfile: update containerd, registry, RootlessKit, CNI#2701
tonistiigi merged 1 commit intomoby:masterfrom
AkihiroSuda:update-dockerfile

Conversation

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Mar 4, 2022

  • runc: 1.0.2 -> 1.1.0
  • containerd: 1.6.0/1.5.9/1.4.12 -> 1.6.1/1.5.10/1.4.13
  • registry: 2.7.1 -> 2.8.0
  • RootlessKit: 0.14.2 -> 0.14.6
  • CNI plugins: 1.0.1 -> 1.1.0

@AkihiroSuda
Copy link
Member Author

🤔

 > [runc 3/3] RUN --mount=from=runc-src,src=/usr/src/runc,target=. --mount=target=/root/.cache,type=cache   CGO_ENABLED=1 xx-go build -mod=vendor -ldflags '-extldflags -static' -tags 'apparmor seccomp netgo cgo static_build osusergo' -o /usr/bin/runc ./ &&   xx-verify --static /usr/bin/runc:
#25 30.26 # github.com/seccomp/libseccomp-golang
#25 30.26 vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:619:2: duplicate case _Ciconst_C_ACT_KILL_THREAD (value 0) in switch
#25 30.26 	previous case at vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:615:2

https://github.com/moby/buildkit/runs/5417974077?check_suite_focus=true

@tonistiigi
Copy link
Member

tonistiigi commented Mar 4, 2022

@AkihiroSuda That's a libseccomp-golang issue I submitted PR for. We can't update unless we fork and patch vendor.

@AkihiroSuda
Copy link
Member Author

@AkihiroSuda That's a libseccomp-golang issue I submitted PR for. We can't update unless we fork and patch vendor.

Can we just fetch the binaries from https://github.com/opencontainers/runc/releases/tag/v1.1.0 ?
Maybe we have to add riscv64 binary there first, though

@tonistiigi
Copy link
Member

We would need to at least leave stages for source as well as this is useful for debugging(either via commit or local source with --build-context). I also think buildkit is atm built for mips unofficially.

- containerd: 1.6.0/1.5.9/1.4.12 -> 1.6.1/1.5.10/1.4.13
- registry: 2.7.1 -> 2.8.0
- RootlessKit: 0.14.2 -> 0.14.6
- CNI plugins: 1.0.1 -> 1.1.0

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda changed the title Dockerfile: update runc, containerd, registry, RootlessKit, CNI Dockerfile: update containerd, registry, RootlessKit, CNI Mar 4, 2022
@AkihiroSuda
Copy link
Member Author

Removed runc update. Hope we can fix it in runc v1.1.1.

@tonistiigi tonistiigi merged commit 56d59de into moby:master Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants