summaryrefslogtreecommitdiff
path: root/docker/android-emulator.dockerfile
diff options
context:
space:
mode:
authoraguestuser <aguestuser@risup.net>2017-04-30 17:09:41 -0400
committeraguestuser <aguestuser@risup.net>2017-04-30 20:05:44 -0400
commit690364e6debe88ae052d93808d715b9ac79d4bc1 (patch)
tree9c31f802d84d0517b7357615b86655c184670ab8 /docker/android-emulator.dockerfile
parent7ed71d793c24b0b074cf61a85ea96c45c21f07f1 (diff)
[ag] extract sdk, ndk, emulator configs to separate dockerfiles
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"