crictl can import images but slow
This commit is contained in:
@@ -6,12 +6,14 @@ FROM --platform=$BUILDPLATFORM ${DOCKER_IMAGE_ROOT}/build-base:${TAG} AS build-b
|
||||
ARG ALPINE_ARCH
|
||||
ARG ALPINE_VER
|
||||
ARG CRIO_VERSION
|
||||
ARG REGISTRY_VERSION
|
||||
ARG DEVICE_TREE_TARGET
|
||||
|
||||
RUN mkdir -p "/out/rootfs"
|
||||
|
||||
COPY packages/alpine-minirootfs-${ALPINE_VER}-${ALPINE_ARCH}.tar.gz ./alpine.tar.gz
|
||||
COPY packages/${CRIO_VERSION}.tar.gz ./crio.tar.gz
|
||||
COPY packages/registry-${REGISTRY_VERSION}.tar.gz ./registry.tar.gz
|
||||
COPY out/board.itb ./
|
||||
COPY out/rootfs ./rootfs
|
||||
COPY out/${DEVICE_TREE_TARGET}.dtb ./
|
||||
@@ -19,5 +21,9 @@ COPY out/Image.gz ./
|
||||
|
||||
RUN tar -xf alpine.tar.gz -C "/out/rootfs"
|
||||
|
||||
COPY alpine/etc ./rootfs/etc
|
||||
RUN mkdir -p /out/rootfs/usr/local/bin/
|
||||
COPY packages/kubernetes/* /out/rootfs/usr/local/bin/
|
||||
RUN chmod +x /out/rootfs/usr/local/bin/*
|
||||
|
||||
COPY alpine/rootfs-extra ./rootfs-extra
|
||||
COPY alpine/*.sh /
|
||||
|
||||
Reference in New Issue
Block a user