Commit 3fb45a71 authored by Diego Wilson's avatar Diego Wilson
Browse files

Minimize layers in android-build dockerfile

As per the docker best practices [1], you should try minizing
the number of RUN, COPY and ADD directives to reduce how many layers
you use in an image.

Also clean out APT cache to reduce the image size.

[1] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#minimize-the-number-of-layers

Test: cloud-build-local -dryrun=false .
Change-Id: I343727b4b6e42c914c02a20d7d0a4febd1855c68
parent 33c697ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment