From 64c92012feb5200aaa623cc67e21d19185484e2a Mon Sep 17 00:00:00 2001 From: Carsten Munk Date: Sat, 4 May 2024 10:33:10 +0000 Subject: [PATCH] Get rid of second flash drive Signed-off-by: Carsten Munk --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 25d0da7..5f50265 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,7 +131,7 @@ COPY --from=aptget-setup /tool-image2.img /tool-image2.img RUN truncate -s 800M /clean-image.ext2 && cartesi-machine --skip-root-hash-check --append-bootargs="loglevel=8 init=/sbin/install-from-mtdblock1" --flash-drive=label:root,filename:/image.ext2 --flash-drive=label:out,filename:/tool-image2.img --flash-drive=label:clean,filename:/clean-image.ext2,shared --ram-length=2Gi && rm -rf /tool-image.img && rm -rf /tool-image2.img && rm -rf /image.ext2 RUN cartesi-machine --skip-root-hash-check --append-bootargs="no4lvl loglevel=8 init=/usr/sbin/lambada-preinit systemd.unified_cgroup_hierarchy=0 rootfstype=ext4 ro CARTESI_TMPFS_SIZE=1G systemd.journald.forward_to_console=1" \ - --ram-image=./artifacts/linux.bin --flash-drive="label:root,filename:/clean-image.ext2" --flash-drive="label:app,length:10Mi" --ram-length=2Gi --store=/lambada-base-machine-presparse \ + --ram-image=./artifacts/linux.bin --flash-drive="label:root,filename:/clean-image.ext2" --ram-length=2Gi --store=/lambada-base-machine-presparse \ --max-mcycle=0 && \ cp -v --sparse=always -r /lambada-base-machine-presparse /lambada-base-machine && rm -rf /lambada-base-machine-presparse && \ tar --sparse --hole-detection=seek -zvcf /lambada-base-machine.tar.gz /lambada-base-machine && rm -rf /lambada-base-machine /tool-image* && \