Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Automated g4 rollback of commit df3d09baf2adc2b84825a6e706f9f0c041e72…
Browse files Browse the repository at this point in the history
…425.

*** Reason for rollback ***

Rolling back the switch to rules_docker due to substantial performance regression in certain actions.

*** Original change description ***

Emit warnings when the bundled docker_build and docker_bundle rules are used.

PiperOrigin-RevId: 154869510
  • Loading branch information
Googler authored and damienmg committed May 3, 2017
1 parent b448eef commit 965617a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tools/build_defs/docker/docker.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,3 @@
load(":build.bzl", "docker_build")
load(":bundle.bzl", "docker_bundle")

print("The docker_{build,bundle} rules bundled with Bazel are deprecated " +
"in favor of:\nhttps://github.com/bazelbuild/rules_docker. " +
"Please change BUILD loads to reference: " +
"@io_bazel_rules_docker//docker:docker.bzl and add the following to " +
"your WORKSPACE:\n" +
"""git_repository(
name = "io_bazel_rules_docker",
remote = "https://github.com/bazelbuild/rules_docker.git",
commit = "...",
)
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_repositories")
docker_repositories()""")

0 comments on commit 965617a

Please sign in to comment.