From a1c2c032e95789e357d196c963b8e59accb31ec8 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Wed, 14 Aug 2024 17:41:40 +0200 Subject: [PATCH] revert changes from #43 and #46 --- build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/build b/build index 8c2df55..b125ba3 100755 --- a/build +++ b/build @@ -79,14 +79,7 @@ done if [ "$container_image" = localhost/builder ]; then dir="$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" - # Build from 'builder.dockerfile' if that exists, otherwise the default file name will be 'Dockerfile' or 'Containerfile'. - # It is recommended to call the file 'builder.dockerfile' to make it's intention clear. - # That file might only contain a single line 'FROM ghcr.io/gardenlinux/builder:...' which can be updated via dependabot. - if [[ -f "${dir}"/builder.dockerfile ]]; then - "$container_engine" build -t "$container_image" -f "${dir}"/builder.dockerfile "$dir" - else - "$container_engine" build -t "$container_image" "$dir" - fi + "$container_engine" build -t "$container_image" "$dir" fi repo="$(./get_repo)"