forked from Spark/builder
readme; also interactivity
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
d42669565c
commit
125903dbcd
12
autobuilder/README.md
Normal file
12
autobuilder/README.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Spark autobuilder
|
||||||
|
=================
|
||||||
|
|
||||||
|
To use the build scripts, grab the latest Spark rootfs in one of the following ways:
|
||||||
|
* `curl -sL https://spark.fleshless.org/rootfs/latest.tar.xz | podman import - localhost/spark`
|
||||||
|
* `git clone https://code.fleshless.org/Spark/spark-rootfs.git; cd spark-rootfs; podman build --rm -t localhost/spark .`
|
||||||
|
|
||||||
|
Then build a builder image from `./autobuilder`: `cd ./autobuilder; podman build --rm -t localhost/spark:autobuilder .`
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
* `git clone https://code.fleshless.org/PKGBUILDs/ssm-git /tmp/ssm-git; cd /tmp/ssm-git; makepkg-podman -sL`
|
||||||
|
* `podman-ci /tmp/artifacts; makepkg-ci https://code.fleshless.org/PKGBUILDs/ssm-git`
|
|
@ -3,7 +3,7 @@
|
||||||
image=${PODMAN_IMAGE:-localhost/spark:autobuilder}
|
image=${PODMAN_IMAGE:-localhost/spark:autobuilder}
|
||||||
|
|
||||||
podman_cmd=(
|
podman_cmd=(
|
||||||
podman run --rm -u root
|
podman run --rm -it -u root
|
||||||
--userns=keep-id
|
--userns=keep-id
|
||||||
-v "$PWD:/buildroot"
|
-v "$PWD:/buildroot"
|
||||||
--workdir /buildroot
|
--workdir /buildroot
|
||||||
|
|
Loading…
Reference in New Issue
Block a user