Skip to content

Commit a9543a8

Browse files
committed
compose: remove config_dir from build branch process
1 parent 5528ef3 commit a9543a8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/backends/compose/compose_backend.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,6 @@ def default_config_args(self, tank):
359359
defaults += f" -addnode={self.get_container_name(dst_index, ServiceType.BITCOIN)}"
360360
return defaults
361361

362-
def copy_configs(self, tank):
363-
warnet_tor_dir = tank.config_dir / "tor"
364-
warnet_tor_dir.mkdir()
365-
shutil.copyfile(TEMPLATES / DOCKERFILE_NAME, tank.config_dir / DOCKERFILE_NAME)
366-
shutil.copyfile(TEMPLATES / "tor" / TORRC_NAME, warnet_tor_dir / TORRC_NAME)
367-
shutil.copyfile(TEMPLATES / ENTRYPOINT_NAME, tank.config_dir / ENTRYPOINT_NAME)
368-
set_execute_permission(tank.config_dir / ENTRYPOINT_NAME)
369-
370362
def add_services(self, tank: Tank, compose):
371363
services = compose["services"]
372364
assert tank.index is not None
@@ -386,7 +378,6 @@ def add_services(self, tank: Tank, compose):
386378
tank.DEFAULT_BUILD_ARGS + tank.build_args,
387379
arches=get_architecture(),
388380
)
389-
self.copy_configs(tank)
390381
elif tank.image:
391382
# Pre-built custom image
392383
image = tank.image

0 commit comments

Comments
 (0)