summaryrefslogtreecommitdiff
path: root/docker/android-emulator
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-09-25 16:52:04 +0200
committercyBerta <cyberta@riseup.net>2017-09-29 08:56:24 +0200
commite0aa1cd978f978ed3ac90adaf8415b60ce039c79 (patch)
tree654bb43e24f219b0d493951052639cbe774a6b83 /docker/android-emulator
parent65dbc986bf6d965591971dafd10b69f9fe04682c (diff)
Build docker images from CI
Diffstat (limited to 'docker/android-emulator')
-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"