Skip to content

Commit 10584fe

Browse files
authored
Merge pull request #154 from nicolasbock/update_image
Update default docker image
2 parents d0964b9 + fd911c6 commit 10584fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ebuildtester/parse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ def parse_commandline(args):
9090
"--rm",
9191
help="Remove container after session is done",
9292
action="store_true")
93-
parser.add_argument(
94-
"--pull",
95-
help="Download latest 'gentoo/stage3-amd64' docker image",
96-
action="store_true")
9793
parser.add_argument(
9894
"--storage-opt",
9995
help="Storage driver options for all volumes (same as Docker param)",
@@ -114,7 +110,11 @@ def parse_commandline(args):
114110
parser.add_argument(
115111
"--docker-image",
116112
help="Specify the docker image to use (default = %(default)s)",
117-
default="gentoo/stage3-amd64")
113+
default="gentoo/stage3")
114+
parser.add_argument(
115+
"--pull",
116+
help="Download latest docker image",
117+
action="store_true")
118118

119119
options = parser.parse_args(args)
120120

test/test_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ def test_with_vnc(self):
9090
def test_docker_image(self):
9191
options = ebuildtester.parse.parse_commandline(
9292
self.args + ["--manual"])
93-
self.assertEqual(options.docker_image, "gentoo/stage3-amd64")
93+
self.assertEqual(options.docker_image, "gentoo/stage3")

0 commit comments

Comments
 (0)