make a single docker image
diff --git a/scripts/images/BUILD b/scripts/images/BUILD
index 9de2aa7..aa307aa 100644
--- a/scripts/images/BUILD
+++ b/scripts/images/BUILD
@@ -6,6 +6,7 @@
tars = [
"//scripts/packages:heron-core",
"//scripts/packages:heron-tools",
+ "//scripts/packages:heron-examples",
],
symlinks = {
"/usr/local/bin/heron" : "/heron/heron-tools/bin/heron",
@@ -13,6 +14,7 @@
"/usr/local/bin/heron-tracker" : "/heron/heron-tools/bin/heron-tracker",
"/usr/local/bin/heron-ui" : "/heron/heron-tools/bin/heron-ui",
"/usr/local/bin/heron-apiserver" : "/heron/heron-tools/bin/heron-apiserver",
+ "/heron/heron-tools/dist/heron-core" : "/heron/heron-core",
"/heron/heron-tools/lib/metricscachemgr" : "/heron/heron-core/lib/metricscachemgr",
"/heron/heron-tools/lib/packing" : "/heron/heron-core/lib/packing",
diff --git a/tools/bazel.rc b/tools/bazel.rc
index 5a483f5..3d86ce9 100644
--- a/tools/bazel.rc
+++ b/tools/bazel.rc
@@ -64,7 +64,6 @@
# To use it: bazel build --config=centos_nostyle
build:centos_nostyle --genrule_strategy=standalone
build:centos_nostyle --ignore_unsupported_sandboxing
-build:centos_nostyle --java_toolchain=//tools/java:heron_java_toolchain
build:centos_nostyle --linkopt -lm
build:centos_nostyle --linkopt -lpthread
build:centos_nostyle --linkopt -lrt
@@ -76,7 +75,6 @@
# To use it: bazel build --config=debian_nostyle
build:debian_nostyle --genrule_strategy=standalone
build:debian_nostyle --ignore_unsupported_sandboxing
-build:debian_nostyle --java_toolchain=//tools/java:heron_java_toolchain
build:debian_nostyle --linkopt -lm
build:debian_nostyle --linkopt -lpthread
build:debian_nostyle --linkopt -lrt
@@ -88,7 +86,6 @@
# To use it: bazel build --config=darwin_nostyle
build:darwin_nostyle --genrule_strategy=standalone
build:darwin_nostyle --ignore_unsupported_sandboxing
-build:darwin_nostyle --java_toolchain=//tools/java:heron_java_toolchain
build:darwin_nostyle --python2_path /usr/bin/python2.7
build:darwin_nostyle --spawn_strategy=standalone
build:darwin_nostyle --workspace_status_command scripts/release/status.sh
@@ -97,7 +94,6 @@
# To use it: bazel build --config=ubuntu_nostyle
build:ubuntu_nostyle --genrule_strategy=standalone
build:ubuntu_nostyle --ignore_unsupported_sandboxing
-build:ubuntu_nostyle --java_toolchain=//tools/java:heron_java_toolchain
build:ubuntu_nostyle --linkopt -lm
build:ubuntu_nostyle --linkopt -lpthread
build:ubuntu_nostyle --linkopt -lrt