modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Docker Whale (https://www.docker.com/) by Docker, Inc
bugs in Java and ... code before it ships. Infer (http://fbinfer.com/) by Facebook, Inc. Running Android SDK update in Docker container The default filesystem used by Docker doesn't support some file operations. And Android SDK update involves hardlink moving, which leads to failure.
orchestration • Minimize the number of layers ◦ layer = intermediate image, supports caching • Size matters, use what you have ◦ Install & un- by separated steps will ⇧ image size • Readability
◦ Unfortunately it is not possible to pass through a USB device (or a serial port) to a container on Mac • Docker daemon memory limit & JVM heap size 2 UI tests ( connectedAndroidTest ) ARM emulator @Docker 2 mins 4.615 secs Genymotion 25.335 secs
• Hard coded Timezone in test ◦ expected:2099-12-31T00:00:00.0000+0200 but was: 2099-12-31T00:00:00.0000+0000 • File & Path ◦ File#listFiles() -> File[] (sort order might be different per OS)
API: flaky test / unreliable network / unpredictable content ◦ VCR: re-record network interactions on every change ◦ Docker: run backend service out of the box for mobile dev • API Test ◦ Test API / content provider - reuse the app’s code ◦ Serverless ( Kotlin, Swift )