mirror of
https://github.com/AlmaLinux/ks2rootfs.git
synced 2024-11-24 02:13:07 +00:00
Compare commits
No commits in common. "7d37b024707d83e54c2bb13880a255d36d441453" and "1a52d520eaf0a5227698b32727e1e62fd88c7713" have entirely different histories.
7d37b02470
...
1a52d520ea
36
README.md
36
README.md
@ -2,36 +2,19 @@
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
## Building local
|
## HOW-TO
|
||||||
|
|
||||||
Two different variants of the image `almalinux/ks2rootfs` are avilable.
|
Image yet ot published in `hub.docker.com`, until then use local build.
|
||||||
|
|
||||||
* [**`latest`**](https://hub.docker.com/r/almalinux/ks2rootfs/tags?page=1&ordering=last_updated&name=latest)
|
### Building local
|
||||||
* [**`livecd-tools`**](https://hub.docker.com/r/almalinux/ks2rootfs/tags?page=1&ordering=last_updated&name=livecd-tools)
|
|
||||||
|
|
||||||
### Building `almalinux/ks2rootfs:latest` image tag
|
|
||||||
|
|
||||||
Use follwing command `latest` tag image to create `rootfs` files for `docker` and `WSL` images.
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build -t almalinux/ks2rootfs -f Dockerfile .
|
docker build -t almalinux/ks2rootfs .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building `almalinux/ks2rootfs:livecd-tools` image tag
|
### Using Image
|
||||||
|
|
||||||
Use follwing command `livecd-tools` tag image to create [`SIG/LiveMedia ISO`](https://github.com/AlmaLinux/sig-livemedia) images, check GitHub [repo](https://github.com/AlmaLinux/sig-livemedia).
|
Following command under `tests` folder. Run command uses the `kickstarts/almalinux-8-default.x86_64.ks` file to build.
|
||||||
|
|
||||||
```sh
|
|
||||||
docker build -t almalinux/ks2rootfs:livecd-tools -f Dockerfile.livecd .
|
|
||||||
```
|
|
||||||
|
|
||||||
## Using `almalinux/ks2rootfs:latest` image tag
|
|
||||||
|
|
||||||
Use `latest` tag image to create `rootfs` files for `docker` and `WSL` images.
|
|
||||||
|
|
||||||
### Using `lastet` Image tag
|
|
||||||
|
|
||||||
Run following command under `tests` folder. Test script kickstart files are available at `kickstarts`. **NOTE**: These scripts test use only. Official docker image kickstart files are avaialble in GitHub [docker-images](https://github.com/AlmaLinux/docker-images) repository.
|
|
||||||
|
|
||||||
Use command below to create `default` docker files
|
Use command below to create `default` docker files
|
||||||
|
|
||||||
@ -85,13 +68,10 @@ FLAG_RETAIN_LOG : Optional - When enabled, generated logs files retained unde
|
|||||||
BUILD_COMPTYPE : Optional - Build compression type default 'xz', 'gzip' and 'lzma'.
|
BUILD_COMPTYPE : Optional - Build compression type default 'xz', 'gzip' and 'lzma'.
|
||||||
BUILD_TYPE : Optional - Build type 'base', 'default', 'init', 'micro', 'minimal' and 'wsl', Default value is 'default'.
|
BUILD_TYPE : Optional - Build type 'base', 'default', 'init', 'micro', 'minimal' and 'wsl', Default value is 'default'.
|
||||||
|
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
ks2rootfs KICKSTART_FILE_NAME ROOTFS_FILE_NAME
|
ks2rootfs KICKSTART_FILE_NAME ROOTFS_FILE_NAME
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
ks2rootfs os-minimal.ks os-minimal.tar.gz
|
ks2rootfs os-minimal.ks os-minimal.tar.xz
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using `almalinux/ks2rootfs:livecd-tools` Image
|
|
||||||
|
|
||||||
`livecd-tools` tag image to create [`SIG/LiveMedia ISO`](https://github.com/AlmaLinux/sig-livemedia) images, check GitHub [repo](https://github.com/AlmaLinux/sig-livemedia) for more detailed use.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user