18. # Add some missing dependencies
FROM playmobils/android-ndk:14b
ARG DEBIAN_FRONTEND=noninteractive
# How to use
# In order to use it, you need to run it with:
# docker run -v <path to your source>:/src playmobils/android <file to run>
# The command above mounts your directory to where the container expects the source to be and builds it.
# Install dependencies
RUN apt-get -qq update &&
apt-get -qqy install --no-install-recommends gawk bc make git zip &&
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/cache/debconf/*-old
# User Sources for Android SDK Manager, to avoid any warnings
RUN echo "count=0" > ~/.android/repositories.cfg
39. some successful
basic commands
First & second
successful build
After manually
deleting files
two in a row builds
without any
intervene user
jenkins build
success
39
40. 30-40 min
the image is not downloaded.
10-20 min
the image is present.
9-13 min
with the cache usage
Build time diagram