Commit 60cf8e2a authored by Sergey Shiktarev's avatar Sergey Shiktarev
Browse files

fix jcp source

parent afd3bcdc
......@@ -67,16 +67,13 @@ if __name__=="__main__":
print("Setting --existing-genesis to no, because there are no file " + '{}/genesis_backup.conf'.format(get_current_path()))
options.use_existing_genesis = 'no'
src_dir = "../../../lib"
jcp_name = "jcp-2.0.39014.tar.gz"
src_jcp = "{}/{}".format(src_dir, jcp_name)
dst_jcp = "./tmp/"
if not os.path.exists(dst_jcp):
os.mkdir(dst_jcp)
if os.path.exists(dst_jcp):
shutil.rmtree(dst_jcp)
os.mkdir(dst_jcp)
copyfile(src_jcp, "{}/{}".format(dst_jcp, jcp_name))
urllib.request.urlretrieve('https://artifacts.vostokservices.com/repository/fileshare/node_build/jcp-2.0.39014.zip', "{}/{}".format(dst_jcp, jcp_name))
build_image_cmd = [docker, 'build', '-t', 'node_config_generator', '.']
subprocess.run(build_image_cmd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment