aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/README.md b/README.md
index 8196163..6a08b58 100644
--- a/README.md
+++ b/README.md
@@ -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
=======