Build code size treemaps for skottie_tool

Bug: skia:
Change-Id: I3364fa6b89674f65bf493467198740e1862d215e
Reviewed-on: https://skia-review.googlesource.com/c/191291
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
diff --git a/docker/binary-size/Dockerfile b/docker/binary-size/Dockerfile
new file mode 100644
index 0000000..17601ad
--- /dev/null
+++ b/docker/binary-size/Dockerfile
@@ -0,0 +1,24 @@
+# Dockerfile that bundles chromium's binary_size tools
+# to build treemaps of code size for executables.
+FROM alpine:latest as dart-sdk-checkout
+
+RUN apk update && apk upgrade && \
+    apk add git
+
+WORKDIR /tmp/
+
+RUN git clone --depth 1 https://github.com/dart-lang/sdk.git
+
+#############################################################################
+# Multi-stage build part 2, in which we only have the python runtime and
+# and the scripts we need to analyze the binary.
+#############################################################################
+
+FROM alpine:latest as analyzer
+
+RUN apk update && apk upgrade && \
+    apk add python binutils
+
+WORKDIR /opt
+
+COPY --from=dart-sdk-checkout /tmp/sdk/runtime/third_party/ /opt/