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
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
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):
- Dockerfile.prepare. Prepares an image with the minimal requirements to build and debug the bootstrap.
- Dockerfile.stage1. Bootstraps stage 1.
- Dockerfile.stage2. Bootstraps stage 2.
- Dockerfile.stage3. Bootstraps stage 3.
- 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
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.
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.