Fix variable naming and hardcoded path

Remove Dockerfile

init
This commit is contained in:
Rikka committed 2023-01-18 01:06:32 +08:00
1 parent 4ccbc05426
commit dcb48bb2a4
11 files changed
+45 -25

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ def main():
f.write(dockerfile)
client = docker.DockerClient(base_url='unix://var/run/docker.sock')
new_image_name = "redroid/redroid:"+"-".join(tags)
client.images.build(path="/home/rikka/redroid-script",
client.images.build(path=".",
dockerfile="Dockerfile",
tag=new_image_name)
helper.print_color("Successfully built {}".format(new_image_name), helper.bcolors.GREEN)