File tree Expand file tree Collapse file tree
test/cases/040_packages/002_binfmt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ onboot:
1717 - name : sysfs
1818 image : linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
1919 - name : binfmt
20- image : linuxkit/binfmt:594ef260c28aa6d85273b8f08ba3076d340c54d7
20+ image : linuxkit/binfmt:4924dc6b9aa7e0bcc6fe8825c24471eac4684108
2121 # Format and mount the disk image in /var/lib/docker
2222 - name : format
2323 image : linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
Original file line number Diff line number Diff line change 1- # Use Debian testing Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
2- FROM debian@sha256:731dd1380d6a8d170a695dbeb17fe0eade0e1c29f654cf0a3a07f372191c3f4b AS qemu
3- RUN apt-get update && apt-get install -y qemu-user-static && \
4- mv /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64 && \
5- mv /usr/bin/qemu-arm-static /usr/bin/qemu-arm && \
6- mv /usr/bin/qemu-ppc64le-static /usr/bin/qemu-ppc64le && \
7- mv /usr/bin/qemu-s390x-static /usr/bin/qemu-s390x && \
8- mv /usr/bin/qemu-riscv64-static /usr/bin/qemu-riscv64 && \
9- mv /usr/bin/qemu-loongarch64-static /usr/bin/qemu-loongarch64 && \
10- rm /usr/bin/qemu-*-static
1+ # Use Debian testing-slim Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
2+ FROM debian@sha256:80381085775a6e69f0f8d09dd9a39495063e348382eb8d4881ba6f142d24b8ab AS qemu
3+ RUN apt-get update && apt-get install -y qemu-user-static
114
125FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
136
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ trap clean_up EXIT
1717
1818# Test code goes here
1919linuxkit build --format kernel+initrd --name " ${NAME} " test.yml
20- RESULT=" $( linuxkitrun ${NAME} ) "
20+ RESULT=" $( linuxkitrun --mem 2048 ${NAME} ) "
2121echo " ${RESULT} "
2222echo " ${RESULT} " | grep -q " suite PASSED"
2323
Original file line number Diff line number Diff line change 66 - linuxkit/runc:3c079dfa25a05653db203c2abfb329c4e08ba6f9
77onboot :
88 - name : binfmt
9- image : linuxkit/binfmt:594ef260c28aa6d85273b8f08ba3076d340c54d7
9+ image : linuxkit/binfmt:4924dc6b9aa7e0bcc6fe8825c24471eac4684108
1010 - name : test
1111 image : alpine:3.13
1212 binds :
You can’t perform that action at this time.
0 commit comments