changelog shortlog graph tags branches changeset files revisions annotate raw help

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

changeset 32: 2a87ac5a25eb
parent: 0be8229292a9
child: 36c0358a46be
author: ellis <ellis@rwest.io>
date: Sat, 30 Dec 2023 20:11:16 -0500
permissions: -rwxr-xr-x
description: arch->alpine for workers
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 config --workingdir /home/$USER $id
8 buildah run --net host $id hg clone https://vc.compiler.company/comp/core
9 buildah run --net host $id hg clone https://vc.compiler.company/comp/infra
10 buildah commit $id box-base