1
0
mirror of https://github.com/1C-Company/docker_fresh.git synced 2025-10-30 23:47:54 +02:00
This commit is contained in:
WizaXxX
2020-07-21 17:49:06 +03:00
parent b8f64c5926
commit db40a66101
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class colors:
def image_exist(image_name):
full_image_name = 'fresh/' + image.name
result = subprocess.run(['docker images'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
result = subprocess.run(['docker' ,'images'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
return full_image_name in str(result.stdout)

View File

@@ -27,7 +27,7 @@ def rename_forum_file():
command.append('alpine')
command.append('sh')
command.append('-c')
command.append('"mv /out_files/forum/forum*.war /out_files/forum/ROOT.war"')
command.append('"mv /out_files/forum/*.war /out_files/forum/ROOT.war"')
return command
def add_all_before_commands():

View File

@@ -24,7 +24,7 @@ def rename_site_file():
command.append('alpine')
command.append('sh')
command.append('-c')
command.append('"mv /out_files/site/site*.war /out_files/site/ROOT.war"')
command.append('"mv /out_files/site/*.war /out_files/site/ROOT.war"')
return command
def add_all_before_commands():