Giter Site home page Giter Site logo

create-ublue-image's Introduction

create-ublue-image

This is a small containerized tool to automatically create a functional Github repository custom ostree native container image based on ublue-os/startingpoint.

Running

Some instructions also exist in the uBlue docs: https://ublue.it/making-your-own/#automatic-setup

create-ublue-image should run on any computer with Podman installed. If you are already running an immutable Fedora variant, you shouldn't have to install anything.

Run the following command in a directory that you have write access to, your repo will be created as a subdirectory. The script will ask you further questions.

podman run -v "$(pwd)":/host:z -it ghcr.io/einohr/create-ublue-image

This command runs the OCI container built in this repo using podman mounting your working directory pwd into the container under the path /host. :z makes it possible for multiple containers to use the volume at the same time, which is useful when running a Distrobox. If you run into issues with "relabeling" when running the command, you should try removing :z from the end of the mount command.
It is not recommended to run the tool inside your home directory, but rather a subdirectory, as that can cause errors. However, if the command tool starts in your home dir without any errors, it should probably function. You do not need to run the tool in an empty directory, it will create a new one with the name that you input.

Can I trust you?

This tool uses github-cli to authenticate to your account, which could be a security concern. You can read all of the code in wizard.sh (<100 loc) and see for yourself everything this tool does. You can also just set up the repository manually.

create-ublue-image's People

Contributors

kylegospo avatar xynydev avatar castrojo avatar dependabot[bot] avatar dreamyukii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.