Skip to content

feature: add flatcar container linux support to install script (please) #1758

@tazmo

Description

@tazmo

Please add support for flatcar container linux:

core@localhost ~ $ curl -fsSL https://raw.githubusercontent.com/christianlempa/boilerplates/main/scripts/install.sh | bash
[boilerplates] Checking dependencies...
[boilerplates] Python3 not found
[boilerplates] pip not found
[boilerplates] pipx not found
[boilerplates] Installing missing dependencies...
[boilerplates] Detected Linux (flatcar)
[boilerplates] Unsupported Linux distribution: flatcar
[boilerplates] Please install manually: python3, pip, git, and pipx

Note flatcar is a single purpose container only OS, which means each of the dependencies would themselves need to be containers. It is immutable except $HOME is read/write.

docker compose is added by means of a Systemd-sysext. The website devoted to extensions is here. Directions on how to add docker compose with this method is here.

Considering this "OS" is tiny, boots incredibly fast (3 seconds), is immutable, self updatable and extensible, it would make a great target for your templates.

Or better yet, create a docker application container with your cli that could be pulled and run on demand (assuming you don't already have one).

That way if your install script detected flatcar linux, it could just pull the container with the cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions