diff --git a/build b/build index d1abd1e..1869515 100755 --- a/build +++ b/build @@ -75,7 +75,8 @@ done if [ "$container_image" = localhost/builder ]; then dir="$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")" - "$container_engine" build -t "$container_image" "$dir" + containerfile=$([[ -f builder.dockerfile ]] && echo -f builder.dockerfile || true ) + "$container_engine" build -t "$container_image" $containerfile "$dir" fi repo="$(./get_repo)"