Unverified Commit 90898afd authored by kladko's avatar kladko

Added image tagging

parent 2e3f5da7
......@@ -48,11 +48,12 @@
import sys, os, subprocess, time
os.chdir("..")
topDir = os.getcwd()
topDir = os.getcwd() + "/sgxwallet"
print("Starting build")
print("Top directory is:" + topDir)
dockerExecutable = subprocess.check_output(["which", "docker"])
SCRIPTS_DIR = topDir + "/scripts"
#print(sys.argv[1]);
......@@ -62,6 +63,6 @@ SCRIPTS_DIR = topDir + "/scripts"
assert subprocess.call(["pwd"]) == 0;
assert subprocess.call(["docker", "build", topDir, "--file", topDir + "/DockerfileSimulation", "--tag",
assert subprocess.call([dockerExecutable, "build", topDir, "--file", topDir + "/DockerfileSimulation", "--tag",
"skalenetwork/sgxwalletsim:latest"]) == 0;
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