1
0
mirror of https://github.com/AlmaLinux/ks2rootfs.git synced 2024-11-22 01:23:08 +00:00
Go to file
Bala Raman 18d0fdad4c
Update README.md, more changes to come
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-06-21 07:02:47 -04:00
scripts Adding ks2rootfs script, more changes to come 2021-06-21 06:56:42 -04:00
.dockerignore Fix ignore files 2021-06-20 05:56:36 -04:00
.gitignore Fix ignore files 2021-06-20 05:56:36 -04:00
Dockerfile Added docker file 2021-06-20 05:52:05 -04:00
LICENSE Initial commit 2021-06-16 04:34:38 -04:00
README.md Update README.md, more changes to come 2021-06-21 07:02:47 -04:00

Kickstart to RootFS Builder

This project provides the ability build rootfs file from kickstart input file in a docker/podman container environment. Output rootfs files can be used create base images for different OSs (AlmaLinux, Cent OS, Rocky Linux) etc.

HOW-TO

Image yet ot published in hub.docker.com, until then use local build.

Building local

docker build -t srbala/ks2rootfs .

Using Image

Following command uses the kickstarts/almalinux-8-default.x86_64.ks file to build.

docker run --rm --privileged -v "$PWD:/build:z" \
    -e BUILD_KICKSTART=kickstarts/almalinux-8-default.x86_64.ks \
    -e BUILD_ROOTFS=almalinux-8-default-docker.x86_64.tar.gz \
    srbala/ks2rootfs