summaryrefslogtreecommitdiff
path: root/docker/android-emulator/Dockerfile
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-09-25 16:52:04 +0200
committerVarac <varac@leap.se>2017-09-25 19:13:33 +0200
commitd944721a35786a48b996ef088f0311b1835180a7 (patch)
tree6c9194a5b85dd761e80c5658c1c8d69f5453dd3d /docker/android-emulator/Dockerfile
parent64e961fe8ebc1eeb331cef2604cf4c8714e8d8ad (diff)
Build docker images from CI
Diffstat (limited to 'docker/android-emulator/Dockerfile')
-rw-r--r--docker/android-emulator/Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/docker/android-emulator/Dockerfile b/docker/android-emulator/Dockerfile
new file mode 100644
index 00000000..0201312b
--- /dev/null
+++ b/docker/android-emulator/Dockerfile
@@ -0,0 +1,24 @@
+FROM 0xacab.org:4567/leap/bitmask_android/android-sdk:latest
+
+MAINTAINER LEAP Encryption Access Project <info@leap.se>
+LABEL Description="Android SDK baseimage based on debian:stretch" Vendor="LEAP" Version="25"
+
+# ------------------------------------------------------
+# --- System Dependencies
+
+# ensure GL compatibility
+
+RUN apt-get update -qq
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y mesa-utils
+ENV ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
+
+# ------------------------------------------------------
+# --- Install Android Emulator
+
+# Install Android SDK emulator package
+RUN echo y | sdkmanager "emulator"
+
+# Install System Images for emulators
+RUN echo y | sdkmanager "system-images;android-25;google_apis;x86_64"
+RUN echo y | sdkmanager "system-images;android-24;google_apis;x86_64"
+RUN echo y | sdkmanager "system-images;android-23;google_apis;x86_64"