You've already forked docker_fresh
							
							
				mirror of
				https://github.com/1C-Company/docker_fresh.git
				synced 2025-10-30 23:47:54 +02:00 
			
		
		
		
	fix 1
This commit is contained in:
		| @@ -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) | ||||
|  | ||||
|   | ||||
| @@ -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(): | ||||
|   | ||||
| @@ -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(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user