402bf74ea8
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>
25 lines
730 B
Docker
25 lines
730 B
Docker
# 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/
|