mkisofs-docker/README.md

41 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2022-08-21 16:28:39 +00:00
# mkisofs-docker
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/mkisofs-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/mkisofs-docker)
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/mkisofs)](https://hub.docker.com/r/volkerraschek/mkisofs)
This project contains all sources to build the container image
`docker.io/volkerraschek/mkisofs` and the shell script `mkisofs.sh`.
The primary goal of this project is to package the binary `mkisofs` and
dependencies as container image to provide the functionally for CI/CD workflows
or for systems which does contains the binary.
2022-08-22 10:22:21 +00:00
## Usage
2022-08-21 16:28:39 +00:00
2022-08-22 10:22:21 +00:00
The script forwards all arguments directly to the binary running inside the
container. For this reason, all arguments from the original binary can be used,
for example to create an adapted bootable fedora iso image.
2022-08-21 16:28:39 +00:00
```bash
2022-08-22 10:22:21 +00:00
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
podman run \
--rm \
--volume ${SCRIPT_DIR}:/workspace \
--workdir /workspace \
docker.io/volkerraschek/mkisofs \
-output /workspace/fedora-35.iso \
-eltorito-boot isolinux/isolinux.bin \
-eltorito-catalog isolinux/boot.cat \
-no-emul-boot \
-joliet \
-joliet-long \
-boot-load-size 4 \
-boot-info-table \
-full-iso9660-filenames \
-rational-rock \
-verbose \
-volid "exam" \ # specified in ks.cfg
/workspace/custom-iso
2022-08-21 16:28:39 +00:00
```