Coder Social home page Coder Social logo

eli's Introduction

eli - Bootable OCI/Docker images on bare metal.

Make ISO files from OCI/Docker images.

Docs

Documentation is available under ./docs.

Getting started

First, you must install eli and its dependencies.

Installing

To install eli, just clone the repository and create a symlink:

$ git clone https://github.com/negrel/eli.git

# Symlink to /usr/local/bin
ln -s `pwd`/eli/eli /usr/local/bin/eli

You must also have the following binaries:

  • bash: GNU Bourne-Again SHell
  • buildah: A command line tool that facilitates building OCI container images.
  • the coreutils
  • chroot: change root directory

The first thing to do is to build an installable image. You can choose any one from this list.

For this example, we will use the archlinux image.

# Build the ArchLinux base image
$ sudo make build/archlinux
buildah bud \
        --layers -t eli/archlinux \
        -f archlinux/Containerfile.in distributions/
STEP 1/20: FROM docker.io/library/archlinux:latest
STEP 2/20: ARG ELI_DISTRIB=archlinux
...

Once the image is built, we can start an installation. You can either choose to produce an ISO file out of the image or perform a regular installation with a boot and a root partition.

For this example, we will produce an ISO image.

# If you want to produce an ISO file.
$ iso_dst=/path/to/destination/iso

# If you want to burn the ISO on a device.
# WARNING this will FORMAT your usb stick directly
$ iso_dst=/dev/<my_usb_stick>

$ sudo eli install-iso eli/archlinux $iso_dst
...

That's it ! You successfully produced your first ISO from an OCI/Docker image.

Supported images

Currently, the following images are availables:

  • archlinux

Contributing

If you want to contribute to eli to add a feature or improve the code contact me at [email protected], open an issue or make a pull request.

๐ŸŒ  Show your support

Please give a โญ if this project helped you!

buy me a coffee

๐Ÿ“œ License

MIT ยฉ Alexandre Negrel

eli's People

Contributors

negrel avatar

Watchers

 avatar  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.