changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / virt/build-packy.sh

changeset 44: e50b2e3873cc
parent: 2a87ac5a25eb
child: 798119489208
author: ellis <ellis@rwest.io>
date: Sun, 31 Dec 2023 02:33:48 -0500
permissions: -rwxr-xr-x
description: podman stuff
1 #!/usr/bin/env bash
2 id=$(buildah from alpine-base)
3 buildah copy $id etc/skel /etc/skel
4 buildah run $id adduser $USER -D
5 buildah run --net host $id apk add --no-cache zstd-dev make git linux-headers cargo openssl
6 # requires: rocksdb,zstd
7 # core dependencies: packy,packy-registry.service,krypt,alik,tz
8 buildah config --workingdir /home/demo $id --user $USER
9 buildah config -l=packy $id
10 # buildah config --entrypoint
11 buildah commit $id packy