changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / virt/build-box-base.sh

changeset 31: 0be8229292a9
parent: 4e73da2d9c63
child: 2a87ac5a25eb
author: ellis <ellis@rwest.io>
date: Sat, 30 Dec 2023 02:27:16 -0500
permissions: -rwxr-xr-x
description: tweakin
1 #!/usr/bin/env bash
2 id=$(buildah from archlinux-base)
3 # buildah add $id /mnt/y/lab /var/local/lab
4 buildah run $id useradd -ms /bin/bash $USER
5 buildah run $id mkdir -p /home/$USER/lab /var/local/data
6 buildah run --net host $id pacman -Syu make git sbcl base-devel zstd texlive llvm curl --noconfirm
7 buildah run --net host $id hg clone https://vc.compiler.company/comp/core /usr/src/core
8 buildah run --net host $id hg clone https://vc.compiler.company/comp/infra /usr/src/infra
9 buildah config --workingdir /home/$USER $id
10 buildah commit $id box-base