Go to file
Jason N. c48c28120b general fixes 2024-02-16 23:40:48 +00:00
.devcontainer general fixes 2024-02-16 23:40:48 +00:00
.github/workflows general fixes 2024-02-16 23:40:48 +00:00
lorax_templates fix: tags not properly being set in ostree remote (#6) 2024-02-16 14:45:19 -06:00
xorriso general fixes 2024-02-16 23:40:48 +00:00
.gitignore general fixes 2024-02-16 23:40:48 +00:00
CODEOWNERS general fixes 2024-02-16 23:40:48 +00:00
Containerfile general fixes 2024-02-16 23:40:48 +00:00
LICENSE Initial commit 2024-02-09 14:01:58 -05:00
Makefile general fixes 2024-02-16 23:40:48 +00:00
README.md general fixes 2024-02-16 23:40:48 +00:00
action.yml general fixes 2024-02-16 23:40:48 +00:00

README.md

UBlueOS ISO Generator

This action is used to generate the ISO images for UBlueOS.

Makefile

A Makefile is provided for ease of use. There are separate targets for each file generated, however make can be used to generate the final image and make clean can be used to clean up the workspace.

See Customizing for information about customizing the image that gets created.

Container

A container with the necessary tools already installed is provided at ghcr.io/ublue-os/isogenerator:latest

To use the container file, run docker --privileged --volume .:/isogenerator/output ghcr.io/ublue-os/isogenerator

See Customizing for information about customizing the image that gets created. The variable can either be defined as environment variables or as command arguments. Examples: Environment Variable

docker --privileged --volume .:/isogenerator/output -e VERSION=39 ghcr.io/ublue-os/isogenerator

Command Argument

docker --privileged --volume .:/isogenerator/output ghcr.io/ublue-os/isogenerator VERSION=39

Customizing

The following variables can be used to customize the create image.

  • ARCH
    Architecture for image to build
    Default Value: x86_64
  • VERSION
    Fedora version of installer to build
    Default Value: 39
  • IMAGE_REPO
    Repository containing the source container image
    Default Value: ghcr.io/ublue-os
  • IMAGE_NAME
    Name of the source container image
    Default Value: base-main
  • IMAGE_TAG
    Tag of the source container image
    Default Value: VERSION
  • VARIANT
    Source container variant
    Silverblue
  • WEB_UI
    Enable Anaconda WebUI
    false

VSCode Dev Container

There is a dev container configuration provided for development. By default it will use the existing container image available at ghcr.io/ublue-os/isogenerator, however, you can have it build a new image by editing .devcontainer/devcontainer.json and replacing image with build. Ctrl+/ can be used to comment and uncomment blocks of code within VSCode.

The code from VSCode will be available at /workspaces/isogenerator once the container has started.

Privileged is required for access to loop devices for lorax.

Use existing image

{
	"name": "Existing Dockerfile",
	// "build": {
	// 	"context": "..",
	// 	"dockerfile": "../Containerfile",
	// 	"args": {
	// 		"version": "39"
	// 	}
	// },
	"image": "ghcr.io/ublue-os/isogenerator:latest",
	"overrideCommand": true,
	"shutdownAction": "stopContainer",
	"privileged": true
}

Build a new image

{
	"name": "Existing Dockerfile",
	"build": {
		"context": "..",
		"dockerfile": "../Containerfile",
		"args": {
			"version": "39"
		}
	},
	//"image": "ghcr.io/ublue-os/isogenerator:latest",
	"overrideCommand": true,
	"shutdownAction": "stopContainer",
	"privileged": true
}