import os, sys
import zipfile
import shutil



cmd = "cd SoSsDome\t\n"
cmd += "mvn clean package\t\n"
cmd += "docker-compose build\t\n"
cmd += "docker tag sosssystem-system:latest <ip>:5000/sosssystem-system:latest\t\n"
cmd += "docker push <ip>:5000/sosssystem-system:latest\t\n"
cmd += "cd .. \t\n"
cmd += "rm -r -f SoSsDome \t\n"


os.system(cmd)
