mirror of
https://gitlab.com/monolithify/base-image-build.git
synced 2024-11-22 03:21:23 +00:00
chore: clarification
This commit is contained in:
parent
b9ab83e8fb
commit
5d2483e34d
@ -1,4 +1,5 @@
|
||||
## Overview of the pipeline (currently not working)
|
||||
## Overview of the pipeline (currently not working, use the devcontainer + scripts instead to build it)
|
||||
|
||||
1. A Cloud VM Rocky Linux disk is downloaded, then customized so it can run docker inside
|
||||
2. A Rocky Linux bootc repo is cloned onto that and the repo is used to build a Rocky Linux 9.4 bootc Docker image, which is then uploaded to a container registry, the pipeline for that is here due to `1.` and `2` sharing files and its easier to debug them if needed like this
|
||||
|
||||
@ -18,6 +19,7 @@ To download and setup a Rocky Linux VM Disk that is to be used for building a bo
|
||||
```
|
||||
|
||||
3. To build a bootc container image and push it, fill out the CONTAINER_REGISTRY vars below, then run:
|
||||
|
||||
```
|
||||
export CONTAINER_REGISTRY_RW_USER=someuser
|
||||
export CONTAINER_REGISTRY_RW_PASS=some_api_key
|
||||
@ -25,11 +27,13 @@ export CONTAINER_REGISTRY_RW_PASS=some_api_key
|
||||
```
|
||||
|
||||
### If any debugging is needed you can connect to the latest builder disk run the following, note all changes will be saved:
|
||||
|
||||
```
|
||||
./scripts/debug/main.sh
|
||||
```
|
||||
|
||||
To connect to a specific builder disk run
|
||||
|
||||
```
|
||||
./scripts/debug/main.sh /base-image-build/local.qcow2
|
||||
```
|
Loading…
Reference in New Issue
Block a user