From 10a7645ab8d5042ff4114f94e27ea33e2c57d2b8 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Thu, 6 Jun 2024 11:11:54 +0100 Subject: [PATCH] Local build doesn't need a builder --- lib/kamal/commands/builder/local.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/kamal/commands/builder/local.rb b/lib/kamal/commands/builder/local.rb index 7af8bc06..b404dd16 100644 --- a/lib/kamal/commands/builder/local.rb +++ b/lib/kamal/commands/builder/local.rb @@ -1,10 +1,8 @@ class Kamal::Commands::Builder::Local < Kamal::Commands::Builder::Base def create - docker :buildx, :create, "--name", builder_name, "--driver=docker-container" end def remove - docker :buildx, :rm, builder_name end def info @@ -22,10 +20,6 @@ class Kamal::Commands::Builder::Local < Kamal::Commands::Builder::Base build_context end - def context_hosts - docker :buildx, :inspect, builder_name, "> /dev/null" - end - private def builder_name "kamal-local"