mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-11 03:40:27 +00:00
update dependencies of pkg/init and pkg/containerd
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
FROM linuxkit/containerd-dev:e6a8da1e270da1601ed1bb85bb44c4442e5d51be as containerd-dev
|
||||
FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
# btrfs-progfs is required for btrfs test (mkfs.btrfs)
|
||||
@@ -23,7 +24,7 @@ RUN cp /out/usr/share/zoneinfo/UTC /out/etc/localtime
|
||||
|
||||
FROM scratch
|
||||
COPY --from=mirror /out/ /
|
||||
COPY --from=mirror /go/src/github.com/containerd/containerd /go/src/github.com/containerd/containerd/
|
||||
COPY --from=containerd-dev /go/src/github.com/containerd/containerd /go/src/github.com/containerd/containerd/
|
||||
|
||||
# containerd 1.4.x does not support go modules; remove GO111MODULE=off when we switch to 1.5.x
|
||||
ENV GOPATH=/go GO111MODULE=off
|
||||
|
Reference in New Issue
Block a user