github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/drivers/docker/driver_windows_test.go (about) 1 // +build windows 2 3 package docker 4 5 import ( 6 "testing" 7 8 "github.com/hashicorp/nomad/client/allocdir" 9 ) 10 11 func newTaskConfig(variant string, command []string) TaskConfig { 12 // busyboxImageID is an id of an image containing nanoserver windows and 13 // a busybox exe. 14 // See https://github.com/dantoml/windows/blob/81cff1ed77729d1fa36721abd6cb6efebff2f8ef/docker/busybox/Dockerfile 15 busyboxImageID := "dantoml/busybox-windows:08012019" 16 17 return TaskConfig{ 18 Image: busyboxImageID, 19 Command: command[0], 20 Args: command[1:], 21 } 22 } 23 24 // No-op on windows because we don't load images. 25 func copyImage(t *testing.T, taskDir *allocdir.TaskDir, image string) { 26 }