add prepare script, upgrade docker and install fig