mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
enable integration test on arm64 platform
Currently, integration test can't be done on arm64 platform due to several issues. Fix points: 1, add busybox.tar with arm64 format 2, add hello-world.tar with arm64 format Signed-off-by: Bin Lu <bin.lu@arm.com>
This commit is contained in:
+4
-3
@@ -50,12 +50,13 @@ RUN mkdir -p /usr/src/criu \
|
||||
|
||||
# setup a playground for us to spawn containers in
|
||||
ENV ROOTFS /busybox
|
||||
RUN mkdir -p ${ROOTFS} \
|
||||
&& curl -o- -sSL 'https://github.com/docker-library/busybox/raw/a0558a9006ce0dd6f6ec5d56cfd3f32ebeeb815f/glibc/busybox.tar.xz' | tar xfJC - ${ROOTFS}
|
||||
|
||||
RUN mkdir -p ${ROOTFS}
|
||||
|
||||
COPY script/tmpmount /
|
||||
WORKDIR /go/src/github.com/opencontainers/runc
|
||||
ENTRYPOINT ["/tmpmount"]
|
||||
|
||||
ADD . /go/src/github.com/opencontainers/runc
|
||||
|
||||
RUN . tests/integration/multi-arch.bash \
|
||||
&& curl -o- -sSL `get_busybox` | tar xfJC - ${ROOTFS}
|
||||
|
||||
Reference in New Issue
Block a user