From 796daaf27c93e1cb79d9162bd7c5f0f7f10526fd Mon Sep 17 00:00:00 2001 From: Malte Janduda Date: Sat, 17 Jun 2023 13:50:57 +0200 Subject: [PATCH] adding instructions to contribute. removing builder-build from build file --- Containerfile => Dockerfile | 0 README.md | 12 ++++++++++++ build | 5 ----- 3 files changed, 12 insertions(+), 5 deletions(-) rename Containerfile => Dockerfile (100%) diff --git a/Containerfile b/Dockerfile similarity index 100% rename from Containerfile rename to Dockerfile diff --git a/README.md b/README.md index 421874e..d972f1a 100644 --- a/README.md +++ b/README.md @@ -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 . + diff --git a/build b/build index 0803c59..e49993a 100755 --- a/build +++ b/build @@ -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)"