mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 08:02:55 +00:00
* bump containerd-dev to 2.0.2 Signed-off-by: Avi Deitcher <avi@deitcher.net> * update pkg/init libs to containerd-20 Signed-off-by: Avi Deitcher <avi@deitcher.net> * bump linuxkit CLI containerd deps to 20 Signed-off-by: Avi Deitcher <avi@deitcher.net> * update test/pkg/containerd to work with containerd v2.x tests Signed-off-by: Avi Deitcher <avi@deitcher.net> * update containerd-dev deps Signed-off-by: Avi Deitcher <avi@deitcher.net> * update pkg/init and pkg/containerd dependencies Signed-off-by: Avi Deitcher <avi@deitcher.net> * update test/pkg/containerd deps Signed-off-by: Avi Deitcher <avi@deitcher.net> --------- Signed-off-by: Avi Deitcher <avi@deitcher.net>
18 lines
657 B
Docker
18 lines
657 B
Docker
# Dockerfile to build linuxkit/containerd for linuxkit
|
|
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
|
|
|
RUN apk add tzdata binutils
|
|
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/020-containerd
|
|
|
|
FROM linuxkit/containerd-dev:dcb484003086d12dc0458793375f3769553f330e as containerd-dev
|
|
|
|
FROM scratch
|
|
ENTRYPOINT []
|
|
WORKDIR /
|
|
COPY --from=containerd-dev /usr/bin/containerd /usr/bin/ctr /usr/bin/containerd-shim-runc-v2 /usr/bin/
|
|
COPY --from=alpine /usr/share/zoneinfo/UTC /etc/localtime
|
|
COPY --from=alpine /etc/init.d/ /etc/init.d/
|
|
COPY etc etc/
|
|
COPY --from=alpine /etc/apk /etc/apk/
|
|
COPY --from=alpine /lib/apk /lib/apk/
|