changelog shortlog graph tags branches changeset files file revisions raw help

Mercurial > infra / annotate virt/build-ci-operator.sh

changeset 45: e627a4f4046a
child: 28ed81f2d290
author: ellis <ellis@rwest.io>
date: Tue, 02 Jan 2024 20:17:01 -0500
permissions: -rwxr-xr-x
description: fix
45
ellis <ellis@rwest.io>
parents:
diff changeset
1
 #!/usr/bin/env bash
ellis <ellis@rwest.io>
parents:
diff changeset
2
 id=$(buildah from ci-worker)
ellis <ellis@rwest.io>
parents:
diff changeset
3
 buildah add $id etc/skel /etc
ellis <ellis@rwest.io>
parents:
diff changeset
4
 buildah run $id adduser $USER -D
ellis <ellis@rwest.io>
parents:
diff changeset
5
 buildah config --workingdir /home/$USER $id
ellis <ellis@rwest.io>
parents:
diff changeset
6
 buildah config --volume /mnt/y $id
ellis <ellis@rwest.io>
parents:
diff changeset
7
 buildah config --entrypoint '["/usr/local/bin/sbcl", "--core", "/usr/local/lib/sbcl/prelude.fasl"]' $id
ellis <ellis@rwest.io>
parents:
diff changeset
8
 buildah commit $id ci-operator