Local build doesn't need a builder
This commit is contained in:
committed by
Donal McBreen
parent
d48080c772
commit
ed148628fb
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user