Skip to content

Commit

Permalink
adding instructions to contribute. removing builder-build from build …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
MalteJ committed Jun 17, 2023
1 parent 623b339 commit 8a47a84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
File renamed without changes.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,15 @@ In addition to the above components, your configuration directory must include t
If you're new to configuring the Builder, you can find a minimal example config directory at [gardenlinux/builder_example](https://github.com/gardenlinux/builder_example). For a more comprehensive example, refer to the main [gardenlinux](https://github.com/gardenlinux/gardenlinux) repository.

Feel free to explore these examples to gain a better understanding of how to effectively structure your own config directory.


### Contribute

If you like to modify the *Garden Linux Builder*, make your changes and create a new builder container by simply building the root folder with docker or podman:

sudo podman build -t localhost/builder .

# or

docker build -t localhost/builder .

5 changes: 0 additions & 5 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ container_mount_opts=(
-v "$PWD/$target_dir:/builder/.build"
)

if [ "$container_image" = localhost/builder ]; then
dir="$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")"
"$container_engine" build -t "$container_image" "$dir"
fi

repo="$(./get_repo)"
commit="$(./get_commit)"
timestamp="$(./get_timestamp)"
Expand Down

0 comments on commit 8a47a84

Please sign in to comment.