Use an image managed by nomad account
This is a retag of stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b
This commit is contained in:
parent
a1e0715912
commit
34b22047b7
|
@ -18,9 +18,9 @@ import (
|
|||
|
||||
func testContainerDetails() (image string, imageName string, imageTag string) {
|
||||
if runtime.GOOS == "windows" {
|
||||
return "stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b",
|
||||
"stefanscherer/busybox-windows",
|
||||
"sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b"
|
||||
return "hashicorpnomad/busybox-windows:server2016-0.1",
|
||||
"hashicorpnomad/busybox-windows",
|
||||
"server2016-0.1"
|
||||
}
|
||||
|
||||
return "busybox:1", "busybox", "1"
|
||||
|
|
|
@ -455,7 +455,7 @@ func TestDockerDriver_Start_StoppedContainer(t *testing.T) {
|
|||
if runtime.GOOS != "windows" {
|
||||
imageID, err = d.Impl().(*Driver).loadImage(task, &taskCfg, client)
|
||||
} else {
|
||||
image, lErr := client.InspectImage("stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b")
|
||||
image, lErr := client.InspectImage("hashicorpnomad/busybox-windows:server2016-0.1")
|
||||
err = lErr
|
||||
if image != nil {
|
||||
imageID = image.ID
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
func newTaskConfig(variant string, command []string) TaskConfig {
|
||||
// busyboxImageID is an id of an image containing nanoserver windows and
|
||||
// a busybox exe.
|
||||
busyboxImageID := "stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b"
|
||||
busyboxImageID := "hashicorpnomad/busybox-windows:server2016-0.1"
|
||||
|
||||
return TaskConfig{
|
||||
Image: busyboxImageID,
|
||||
|
|
Loading…
Reference in New Issue