Giter Site home page Giter Site logo

awesomebytes / gentoo_prefix_ci_32b Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 3.0 81 KB

A Gentoo Prefix continuous integration repo (32bits). Find precompiled Gentoo Prefix in the releases section

License: BSD 2-Clause "Simplified" License

Dockerfile 12.33% Shell 87.67%

gentoo_prefix_ci_32b's Introduction

gentoo_prefix_ci

Build Status

A Gentoo Prefix continuous integration repo.

Bootstrapping Gentoo Prefix every night on /tmp/gentoo for x86 over a Docker image of Ubuntu 16.04 32bit.

Builds page (with results and shell outputs): https://github.com/awesomebytes/gentoo_prefix_ci_32b/actions

Ready-to-use releases (with instructions): https://github.com/awesomebytes/gentoo_prefix_ci_32b/releases

Ready-to-use built docker image: docker pull ghrc.io/awesomebytes/gentoo_prefix_ci_32b/gentoo_prefix_latest_image_package_stage_32b

Try Gentoo Prefix

Go to https://github.com/awesomebytes/gentoo_prefix_ci_32b/releases and download the latest release (700MB~).

Extract (2.2GB~):

tar xvf gentoo_on_tmp*.tar.lzma

Run your prefix shell by doing:

./gentoo/startprefix

Or use Docker:

docker pull awesomebytes/gentoo_prefix_boostrapped_32b
docker run -it awesomebytes/gentoo_prefix_boostrapped_32b /bin/bash
./tmp/gentoo/startprefix

What do you mean continuous integration?

Every night (00:00) Sydney time (GMT +10h) the Azure pipelines build farm will bootstrap a Gentoo Prefix by using the configuration found in this repo. (Takes 7h~).

Github actions defines what jobs run. Every job pushes a docker image to github registry container located in this repository . Right now the build is divided in 3 steps (check the corresponding Dockerfile to see the commands executed):

  1. Dockerfile.prepare. Prepares an image with the minimal requirements to build and debug the bootstrap.
  2. Dockerfile.stage1. Bootstraps stage 1.
  3. Dockerfile.stage2. Bootstraps stage 2.
  4. Dockerfile.stage3. Bootstraps stage 3.
  5. Dockerfile.emergesystem. Does emerge -e system after stage 3 to finish bootstrapping the system.

You can use any of those images (intermediate ones to debug, or the final one to play with Gentoo Prefix). Just do:

# To try Gentoo Prefix already bootstrapped in Docker over Ubuntu 16.04 in /tmp/gentoo
docker pull ghrc.io/awesomebytes/gentoo_prefix_ci_32b/gentoo_prefix_boostrapped_32b:latest
docker run -it awesomebytes/gentoo_prefix_ci_32b/gentoo_prefix_boostrapped_32b

Just, why?

Gentoo Prefix is an awesome framework to deploy (almost) any software in any machine where you have no privileges. Just read the awesome use-cases article. I found myself unable to bootstrap the image and neither find an already bootstrapped image. So I built this.

Acknowledgements

Thanks to the people in the #gentoo-prefix IRC channel, to the Gentoo-Alt mailing list, and in general to anyone that helped me while building all this.

gentoo_prefix_ci_32b's People

Contributors

awesomebytes avatar haubi avatar tomkimsour avatar

Stargazers

 avatar  avatar

Watchers

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