mirror of
https://github.com/1C-Company/docker_fresh.git
synced 2024-12-04 10:24:48 +02:00
26 lines
653 B
Python
26 lines
653 B
Python
import modules.helper as helper
|
|
|
|
def download_postgresql_connector():
|
|
command = helper.new_docker_command()
|
|
command.append('alpine')
|
|
command.append('wget')
|
|
command.append('-O')
|
|
command.append('/out_files/postgresql.jar')
|
|
command.append('https://jdbc.postgresql.org/download/postgresql-42.2.4.jar')
|
|
return command
|
|
|
|
def add_all_before_commands():
|
|
|
|
commands = []
|
|
commands.append(download_postgresql_connector())
|
|
return commands
|
|
|
|
class New():
|
|
|
|
name = ''
|
|
commands_before = []
|
|
commands_after = []
|
|
|
|
def __init__(self):
|
|
self.name = 'centos'
|
|
self.commands_before = add_all_before_commands() |