1.1--- a/virt/build-demo.sh Sat Dec 30 02:19:39 2023 -0500
1.2+++ b/virt/build-demo.sh Sat Dec 30 02:27:16 2023 -0500
1.3@@ -1,12 +1,7 @@
1.4 #!/usr/bin/env bash
1.5-id=$(buildah from archlinux-base)
1.6-buildah run $id useradd -ms /bin/bash $USER
1.7-buildah run $id mkdir -p /home/$USER/lab /var/local/data
1.8-buildah run --net host $id pacman -Syu make git zstd curl sbcl base-devel llvm --noconfirm
1.9-buildah run --net host $id hg clone https://vc.compiler.company/comp/core /usr/src/core
1.10-buildah run --net host $id hg clone https://vc.compiler.company/comp/infra /usr/src/infra
1.11+id=$(buildah from box-base)
1.12 buildah run --net host $id hg clone https://vc.compiler.company/comp/demo /usr/src/demo
1.13 buildah run --net host $id /bin/sh -c 'cd /usr/src/infra && make sbcl-install && make rocksdb-install && make ts-langs && make dist/fasl'
1.14 buildah run $id cp /usr/src/infra/dist/fasl/* /usr/local/lib/sbcl/
1.15-buildah config --workingdir /home/$USER $id
1.16+buildah run $id hg clone /usr/src/demo # to /home/$USER
1.17 buildah commit $id demo