diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -12,14 +12,24 @@ Usage - `git clone` this repository and move to directory where you have cloned it. - Generate bootstrap image with [hyperbola-bootstrap](https://git.sr.ht/~heckyel/hyperbola-bootstrap) or download file from [archive.fridu.us](https://archive.fridu.us/hyperbola/iso/) -- Rename hyperbola-bootstrap to bootstrap.tar.gz image +- Make sure you have `hyperbola-bootstrap-i686.tar.gz` or `hyperbola-bootstrap-x86_64.tar.gz` in the directory. +- Build the image with a command like: - mv -T hyperbola-bootstrap-x86_64.tar.gz bootstrap.tar.gz + docker build --no-cache --platform=linux/amd64 --tag rusian/hyperbola:v0.4.3-amd64 -f Dockerfile.amd64 . + docker build --no-cache --platform=linux/386 --tag rusian/hyperbola:v0.4.3-386 -f Dockerfile.386 . -- Make sure you have my `Dockerfile`, `.dockerignore` and the `bootstrap.tar.gz` in one directory. -- Build the image with a command like: +- Optionally, you can use the provided **make-hyperbola.sh** script to build and push the images to Docker Hub, you can provide your username and password like environment variables or directly in the script. + + export DOCKER_USERNAME="your_username" + export DOCKER_PASSWORD="your_password" + +- Run **make-hyperbola.sh** + + bash make-hyperbola.sh + +- Clean environment variables - docker build --tag hyperbola:v0.4.3 -f Dockerfile-Hyperbola-v04 . + unset DOCKER_USERNAME && unset DOCKER_PASSWORD License ======= |