Removed docker.APIImages dependency from image.go and testing package