About
This is Hyperbola Docker is base image build setup that employs the bootstrap tarball distributed by distro authors.
It's meant to provide an easy to use solution for building Hyperbola Docker images.
Usage
-
git clone
this repository. -
cd
to a directory where you have cloned it. -
Generate bootstrap image with hyperbola-bootstrap
-
Run
./tar_fix.py --input=hyperbola-bootstrap.tar.gz --output=bootstrap.tar.gz
This will remove input tarball's top-level directory from all its component paths, and save that in the output tarball. As a result its content starts at
/
rather thanx86_64/
ori686/
, and so will the filesystem of the Docker image.tar_fix.py
needs Python 3.5 or later. -
Make sure you have my
Dockerfile
,.dockerignore
and thebootstrap.tar.gz
in one directory. -
Build the image with a command like:
docker build --build-arg architecture=x86_64 --tag hyperbola:0.4 -f Dockerfile-Hyperbola-v04 .
or for Hyperbola Milky Way v0.3
docker build --build-arg architecture=x86_64 --tag hyperbola:0.3 -f Dockerfile-Hyperbola-v03 .
Mind the dot! Use
--build-arg architecture=i686
if you are building from an i686bootstrap.tar.gz
.
License
This work is licensed under the GNU GPLv3+