Created
April 16, 2020 00:22
-
-
Save dantheman213/ed8bf20e3a7846ce2bf9c52f03e17c59 to your computer and use it in GitHub Desktop.
Generate an ISO using a docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INPUT_FILES_WITHIN_DIR=/home \ | |
OUTPUT_DIR=/mnt/c/Users/danie/Desktop/output \ | |
OUTPUT_FILE_NAME=file.iso \ | |
ISO_LABEL=LABEL \ | |
docker run --rm -w /iso -v $INPUT_FILES_WITHIN_DIR:/iso -v $OUTPUT_DIR:/output genisoimage -v -J -V $ISO_LABEL -o /output/$OUTPUT_FILE_NAME . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment