Automated rollback of commit c3e0660bf8d5c6e32ae817f8a3f52c7fc6bf039e.

*** Reason for rollback ***

Rollforward with fix

*** Original change description ***

Automated rollback of commit e5f970906594d9097bb7c3736b2de1750cc8655f.

*** Reason for rollback ***

Break apple test on darwin.

*** Original change description ***

Refactor docker tests to be buildable without docker.

This make this build a bit non-deterministic since the way
it will be built depend on wether docker is installed or not.

We now use the docker_pull from bazelbuild/continuous-integration
to generate the base docker images and generate a fake docker binary
that j...

***

PiperOrigin-RevId: 162731090
diff --git a/WORKSPACE b/WORKSPACE
index 08fd585..a86ba4e 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -35,8 +35,9 @@
 
 # For src/test/docker/...
 load("//src/test/docker:docker_repository.bzl", "docker_repository")
-
 docker_repository()
+load("//src/test/docker:flavours.bzl", "pull_images_for_docker_tests")
+pull_images_for_docker_tests()
 
 # To run the Android integration tests in //src/test/shell/bazel/android:all or
 # build the Android sample app in //examples/android/java/bazel:hello_world