diff options
author | Jesús <heckyel@hyperbola.info> | 2021-03-09 15:34:14 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-03-09 15:34:14 -0500 |
commit | 37157b2e55ebc020a48a1b85f35aa8ba5686a51b (patch) | |
tree | a22d59b116a9fb452e12288b5bcaf71283fde008 /README.md | |
parent | df917a69fc5e85dee90ed563b720a8329f2649a4 (diff) | |
download | hyperbola-docker-37157b2e55ebc020a48a1b85f35aa8ba5686a51b.tar.lz hyperbola-docker-37157b2e55ebc020a48a1b85f35aa8ba5686a51b.tar.xz hyperbola-docker-37157b2e55ebc020a48a1b85f35aa8ba5686a51b.zip |
Simplify generation Docker image
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -16,25 +16,19 @@ Usage - Generate bootstrap image with [hyperbola-bootstrap](https://git.sr.ht/~heckyel/hyperbola-bootstrap) -- Run +- Converter hyperbola-bootstrap to bootstrap image valid for docker ./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 than `x86_64/` or `i686/`, 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 the `bootstrap.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 . + docker build --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 i686 `bootstrap.tar.gz`. + docker build --tag hyperbola:0.3 -f Dockerfile-Hyperbola-v03 . License ======= |